pub struct Bind<B: BindingBase + 'static>(pub B);Expand description
A binding of the property system given to a setter
(.text(Bind(binding))).
Tuple Fields§
§0: BTrait Implementations§
Source§impl<T: PropertyValue, B: BindingBase + 'static> IntoProp<T, FromBinding> for Bind<B>
impl<T: PropertyValue, B: BindingBase + 'static> IntoProp<T, FromBinding> for Bind<B>
Auto Trait Implementations§
impl<B> Freeze for Bind<B>where
B: Freeze,
impl<B> RefUnwindSafe for Bind<B>where
B: RefUnwindSafe,
impl<B> Send for Bind<B>where
B: Send,
impl<B> Sync for Bind<B>where
B: Sync,
impl<B> Unpin for Bind<B>where
B: Unpin,
impl<B> UnsafeUnpin for Bind<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for Bind<B>where
B: 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