pub struct View<A = ()> { /* private fields */ }Implementations§
Source§impl<A> View<A>
impl<A> View<A>
pub fn class_when<V: BoolValue>( self, field: Field, value: V, ) -> View<(A, Toggle<V>)>
pub fn child<C: Content>( self, outlet: Outlet, content: C, ) -> View<(A, ChildValue<C>)>
pub fn bind<V: TextValue>(self, field: Field, value: V) -> View<(A, Bind<V>)>
pub fn watch<F, T>(self, field: Field, read: F) -> View<(A, Bind<Computed<F>>)>
pub fn on_click<F: FnMut() + 'static>( self, click: Click, callback: F, ) -> View<(A, On<F>)>
pub fn template(&self) -> &'static Template
Trait Implementations§
Auto Trait Implementations§
impl<A> Forget for View<A>
impl<A> Freeze for View<A>
impl<A> Move for View<A>
impl<A> RefUnwindSafe for View<A>
impl<A> Send for View<A>
impl<A> Sync for View<A>
impl<A> Unpin for View<A>
impl<A> UnsafeUnpin for View<A>
impl<A> UnwindSafe for View<A>
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