pub struct DisplayRef<'a, T: ToString + PartialEq + Clone> { /* private fields */ }Expand description
Displays a borrowed value, updating when not equal to the previous value.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for DisplayRef<'a, T>
impl<'a, T> RefUnwindSafe for DisplayRef<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for DisplayRef<'a, T>where
T: Sync,
impl<'a, T> Sync for DisplayRef<'a, T>where
T: Sync,
impl<'a, T> Unpin for DisplayRef<'a, T>
impl<'a, T> UnsafeUnpin for DisplayRef<'a, T>
impl<'a, T> UnwindSafe for DisplayRef<'a, T>where
T: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> AsAny for Twhere
T: Any,
impl<T> AsAny for Twhere
T: Any,
fn as_mut_dyn_any(&mut self) -> &mut (dyn Any + 'static)
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