Enum liquid_core::model::DisplayCow
source · [−]Expand description
Abstract the lifetime of a Display
.
Variants
Owned(Box<dyn Display + 'a>)
A boxed Display
Borrowed(&'a dyn Display)
A borrowed Display
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DisplayCow<'a>
impl<'a> !Send for DisplayCow<'a>
impl<'a> !Sync for DisplayCow<'a>
impl<'a> Unpin for DisplayCow<'a>
impl<'a> !UnwindSafe for DisplayCow<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more