pub trait ModifierCapabilityExt {
Show 14 methods
// Required methods
fn push_layout<N>(self, node: N) -> Self
where N: LayoutModifierNode + PartialEq;
fn push_placement<N>(self, node: N) -> Self
where N: PlacementModifierNode + PartialEq;
fn push_draw<N>(self, node: N) -> Self
where N: DrawModifierNode;
fn push_parent_data<N>(self, node: N) -> Self
where N: ParentDataModifierNode;
fn push_build<N>(self, node: N) -> Self
where N: BuildModifierNode;
fn push_semantics<N>(self, node: N) -> Self
where N: SemanticsModifierNode;
fn push_pointer_preview_input<N>(self, node: N) -> Self
where N: PointerInputModifierNode;
fn push_pointer_input<N>(self, node: N) -> Self
where N: PointerInputModifierNode;
fn push_pointer_final_input<N>(self, node: N) -> Self
where N: PointerInputModifierNode;
fn push_keyboard_preview_input<N>(self, node: N) -> Self
where N: KeyboardInputModifierNode;
fn push_keyboard_input<N>(self, node: N) -> Self
where N: KeyboardInputModifierNode;
fn push_clipboard_input<N>(self, node: N) -> Self
where N: ClipboardInputModifierNode;
fn push_ime_preview_input<N>(self, node: N) -> Self
where N: ImeInputModifierNode;
fn push_ime_input<N>(self, node: N) -> Self
where N: ImeInputModifierNode;
}Expand description
Low-level modifier primitive API for framework crates that build semantic modifier extensions.
This trait is intended for crates such as tessera-foundation and
tessera-components that implement higher-level Modifier extensions. Most
application code should prefer those semantic extensions instead of calling
these methods directly.
Required Methods§
Sourcefn push_layout<N>(self, node: N) -> Selfwhere
N: LayoutModifierNode + PartialEq,
fn push_layout<N>(self, node: N) -> Selfwhere
N: LayoutModifierNode + PartialEq,
Appends a layout modifier node to the current modifier chain.
Sourcefn push_placement<N>(self, node: N) -> Selfwhere
N: PlacementModifierNode + PartialEq,
fn push_placement<N>(self, node: N) -> Selfwhere
N: PlacementModifierNode + PartialEq,
Appends a placement modifier node to the current modifier chain.
Sourcefn push_draw<N>(self, node: N) -> Selfwhere
N: DrawModifierNode,
fn push_draw<N>(self, node: N) -> Selfwhere
N: DrawModifierNode,
Appends a draw modifier node to the current modifier chain.
Sourcefn push_parent_data<N>(self, node: N) -> Selfwhere
N: ParentDataModifierNode,
fn push_parent_data<N>(self, node: N) -> Selfwhere
N: ParentDataModifierNode,
Appends a parent-data modifier node to the current modifier chain.
Sourcefn push_build<N>(self, node: N) -> Selfwhere
N: BuildModifierNode,
fn push_build<N>(self, node: N) -> Selfwhere
N: BuildModifierNode,
Appends a build modifier node to the current modifier chain.
Sourcefn push_semantics<N>(self, node: N) -> Selfwhere
N: SemanticsModifierNode,
fn push_semantics<N>(self, node: N) -> Selfwhere
N: SemanticsModifierNode,
Appends a semantics modifier node to the current modifier chain.
Sourcefn push_pointer_preview_input<N>(self, node: N) -> Selfwhere
N: PointerInputModifierNode,
fn push_pointer_preview_input<N>(self, node: N) -> Selfwhere
N: PointerInputModifierNode,
Appends a preview pointer-input modifier node to the current modifier chain.
Sourcefn push_pointer_input<N>(self, node: N) -> Selfwhere
N: PointerInputModifierNode,
fn push_pointer_input<N>(self, node: N) -> Selfwhere
N: PointerInputModifierNode,
Appends a pointer-input modifier node to the current modifier chain.
Sourcefn push_pointer_final_input<N>(self, node: N) -> Selfwhere
N: PointerInputModifierNode,
fn push_pointer_final_input<N>(self, node: N) -> Selfwhere
N: PointerInputModifierNode,
Appends a final pointer-input modifier node to the current modifier chain.
Sourcefn push_keyboard_preview_input<N>(self, node: N) -> Selfwhere
N: KeyboardInputModifierNode,
fn push_keyboard_preview_input<N>(self, node: N) -> Selfwhere
N: KeyboardInputModifierNode,
Appends a preview keyboard-input modifier node to the current modifier chain.
Sourcefn push_keyboard_input<N>(self, node: N) -> Selfwhere
N: KeyboardInputModifierNode,
fn push_keyboard_input<N>(self, node: N) -> Selfwhere
N: KeyboardInputModifierNode,
Appends a keyboard-input modifier node to the current modifier chain.
Sourcefn push_clipboard_input<N>(self, node: N) -> Selfwhere
N: ClipboardInputModifierNode,
fn push_clipboard_input<N>(self, node: N) -> Selfwhere
N: ClipboardInputModifierNode,
Appends a clipboard-input modifier for focused content.
Sourcefn push_ime_preview_input<N>(self, node: N) -> Selfwhere
N: ImeInputModifierNode,
fn push_ime_preview_input<N>(self, node: N) -> Selfwhere
N: ImeInputModifierNode,
Appends a preview IME-input modifier node to the current modifier chain.
Sourcefn push_ime_input<N>(self, node: N) -> Selfwhere
N: ImeInputModifierNode,
fn push_ime_input<N>(self, node: N) -> Selfwhere
N: ImeInputModifierNode,
Appends an IME-input modifier node to the current modifier chain.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".