💥 Apply function associated types renaming
This commit is contained in:
parent
68b54fbce5
commit
8b4a78f553
14 changed files with 21 additions and 21 deletions
|
|
@ -12,8 +12,8 @@ pub enum MegaItemType {
|
|||
#[default]
|
||||
Void,
|
||||
Label(Label),
|
||||
Link(Label, ContextualPath),
|
||||
LinkBlank(Label, ContextualPath),
|
||||
Link(Label, FnContextualPath),
|
||||
LinkBlank(Label, FnContextualPath),
|
||||
Html(Content),
|
||||
Submenu(Label, MegaMenu),
|
||||
Separator,
|
||||
|
|
@ -84,14 +84,14 @@ impl MegaItem {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn link(label: L10n, path: ContextualPath) -> Self {
|
||||
pub fn link(label: L10n, path: FnContextualPath) -> Self {
|
||||
MegaItem {
|
||||
item_type: MegaItemType::Link(Label::with(label), path),
|
||||
..Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn link_blank(label: L10n, path: ContextualPath) -> Self {
|
||||
pub fn link_blank(label: L10n, path: FnContextualPath) -> Self {
|
||||
MegaItem {
|
||||
item_type: MegaItemType::LinkBlank(Label::with(label), path),
|
||||
..Default::default()
|
||||
|
|
@ -128,7 +128,7 @@ impl MegaItem {
|
|||
}
|
||||
|
||||
#[fn_builder]
|
||||
pub fn alter_renderable(&mut self, check: IsRenderable) -> &mut Self {
|
||||
pub fn alter_renderable(&mut self, check: FnIsRenderable) -> &mut Self {
|
||||
self.renderable.check = check;
|
||||
self
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue