pub struct TwoWay<T: 'static>(/* private fields */);Expand description
A signal used as a two-way value of a property (see Signal::two_way).
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TwoWay<T>
impl<T> RefUnwindSafe for TwoWay<T>where
Signal<T>: RefUnwindSafe,
impl<T> Send for TwoWay<T>
impl<T> Sync for TwoWay<T>
impl<T> Unpin for TwoWay<T>
impl<T> UnsafeUnpin for TwoWay<T>where
Signal<T>: UnsafeUnpin,
impl<T> UnwindSafe for TwoWay<T>where
Signal<T>: UnwindSafe,
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more