pub enum Value {
Owned(DynamicManaged),
Ref(DynamicManagedRef),
RefMut(DynamicManagedRefMut),
Lazy(DynamicManagedLazy),
Box(DynamicManagedBox),
}
Variants§
Owned(DynamicManaged)
Ref(DynamicManagedRef)
RefMut(DynamicManagedRefMut)
Lazy(DynamicManagedLazy)
Box(DynamicManagedBox)
Trait Implementations§
Source§impl From<DynamicManaged> for Value
impl From<DynamicManaged> for Value
Source§fn from(value: DynamicManaged) -> Self
fn from(value: DynamicManaged) -> Self
Converts to this type from the input type.
Source§impl From<DynamicManagedBox> for Value
impl From<DynamicManagedBox> for Value
Source§fn from(value: DynamicManagedBox) -> Self
fn from(value: DynamicManagedBox) -> Self
Converts to this type from the input type.
Source§impl From<DynamicManagedLazy> for Value
impl From<DynamicManagedLazy> for Value
Source§fn from(value: DynamicManagedLazy) -> Self
fn from(value: DynamicManagedLazy) -> Self
Converts to this type from the input type.
Source§impl From<DynamicManagedRef> for Value
impl From<DynamicManagedRef> for Value
Source§fn from(value: DynamicManagedRef) -> Self
fn from(value: DynamicManagedRef) -> Self
Converts to this type from the input type.
Source§impl From<DynamicManagedRefMut> for Value
impl From<DynamicManagedRefMut> for Value
Source§fn from(value: DynamicManagedRefMut) -> Self
fn from(value: DynamicManagedRefMut) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl !Send for Value
impl !Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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