pub struct LocalIndication(pub Option<Rc<dyn IndicationNodeFactory>>);Expand description
Composition-local default indication (ripple/highlight) factory.
Components like Button read this to get the default press feedback.
Mirrors Compose’s LocalIndication.
Tuple Fields§
§0: Option<Rc<dyn IndicationNodeFactory>>Trait Implementations§
Source§impl Clone for LocalIndication
impl Clone for LocalIndication
Source§fn clone(&self) -> LocalIndication
fn clone(&self) -> LocalIndication
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalIndication
impl Debug for LocalIndication
Auto Trait Implementations§
impl !RefUnwindSafe for LocalIndication
impl !Send for LocalIndication
impl !Sync for LocalIndication
impl !UnwindSafe for LocalIndication
impl Freeze for LocalIndication
impl Unpin for LocalIndication
impl UnsafeUnpin for LocalIndication
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