pub struct LazyView<T: ViewState> { /* private fields */ }
Implementations§
Source§impl<T: ViewState> LazyView<T>
impl<T: ViewState> LazyView<T>
pub fn as_dyn(&self) -> Option<ValueReadAccess<'_, dyn ViewState>>
pub fn as_dyn_mut(&self) -> Option<ValueWriteAccess<'_, dyn ViewState>>
pub fn read(&self) -> Option<ValueReadAccess<'_, T>>
pub fn write(&self) -> Option<ValueWriteAccess<'_, T>>
Trait Implementations§
impl<T: ViewState> Send for LazyView<T>
impl<T: ViewState> Sync for LazyView<T>
Auto Trait Implementations§
impl<T> Freeze for LazyView<T>
impl<T> RefUnwindSafe for LazyView<T>where
T: RefUnwindSafe,
impl<T> Unpin for LazyView<T>
impl<T> UnwindSafe for LazyView<T>where
T: RefUnwindSafe,
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