pub struct ModifierNodeSlices { /* private fields */ }Expand description
Snapshot of modifier node slices that impact draw and pointer subsystems.
Implementations§
Source§impl ModifierNodeSlices
impl ModifierNodeSlices
pub fn draw_commands(&self) -> &[DrawCommand]
pub fn pointer_inputs(&self) -> &[Rc<dyn Fn(PointerEvent)>]
pub fn click_handlers(&self) -> &[Rc<dyn Fn(Point)>]
pub fn clip_to_bounds(&self) -> bool
pub fn text_content(&self) -> Option<&str>
pub fn text_content_rc(&self) -> Option<Rc<str>>
pub fn graphics_layer(&self) -> Option<GraphicsLayer>
pub fn with_chain_guard(self, handle: ModifierChainHandle) -> Self
Trait Implementations§
Source§impl Clone for ModifierNodeSlices
impl Clone for ModifierNodeSlices
Source§impl Debug for ModifierNodeSlices
impl Debug for ModifierNodeSlices
Source§impl Default for ModifierNodeSlices
impl Default for ModifierNodeSlices
Source§fn default() -> ModifierNodeSlices
fn default() -> ModifierNodeSlices
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModifierNodeSlices
impl !RefUnwindSafe for ModifierNodeSlices
impl !Send for ModifierNodeSlices
impl !Sync for ModifierNodeSlices
impl Unpin for ModifierNodeSlices
impl !UnwindSafe for ModifierNodeSlices
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more