pub struct UseRef<T> { /* private fields */ }Expand description
A value kept between rebuilds by BuildContext::use_ref. Unlike UseState,
changing it does not ask for a rebuild: it is for what the interface does not show.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for UseRef<T>
impl<T> !Send for UseRef<T>
impl<T> !Sync for UseRef<T>
impl<T> !UnwindSafe for UseRef<T>
impl<T> Freeze for UseRef<T>
impl<T> Unpin for UseRef<T>
impl<T> UnsafeUnpin for UseRef<T>
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