pub enum ManagedValueDependency {
Ref(LifetimeRef),
RefMut(LifetimeRefMut),
}
Variants§
Ref(LifetimeRef)
RefMut(LifetimeRefMut)
Trait Implementations§
Source§impl ValueDependency<DynamicManaged> for ManagedValueDependency
impl ValueDependency<DynamicManaged> for ManagedValueDependency
fn as_ref(value: &DynamicManaged) -> Self
fn as_ref_mut(value: &mut DynamicManaged) -> Self
Source§impl ValueDependency<DynamicManagedRef> for ManagedValueDependency
impl ValueDependency<DynamicManagedRef> for ManagedValueDependency
fn as_ref(value: &DynamicManagedRef) -> Self
fn as_ref_mut(_: &mut DynamicManagedRef) -> Self
Source§impl ValueDependency<DynamicManagedRefMut> for ManagedValueDependency
impl ValueDependency<DynamicManagedRefMut> for ManagedValueDependency
fn as_ref(value: &DynamicManagedRefMut) -> Self
fn as_ref_mut(value: &mut DynamicManagedRefMut) -> Self
Source§impl<T> ValueDependency<Managed<T>> for ManagedValueDependency
impl<T> ValueDependency<Managed<T>> for ManagedValueDependency
Source§impl<T> ValueDependency<ManagedRef<T>> for ManagedValueDependency
impl<T> ValueDependency<ManagedRef<T>> for ManagedValueDependency
fn as_ref(value: &ManagedRef<T>) -> Self
fn as_ref_mut(_: &mut ManagedRef<T>) -> Self
Source§impl<T> ValueDependency<ManagedRefMut<T>> for ManagedValueDependency
impl<T> ValueDependency<ManagedRefMut<T>> for ManagedValueDependency
fn as_ref(value: &ManagedRefMut<T>) -> Self
fn as_ref_mut(value: &mut ManagedRefMut<T>) -> Self
Auto Trait Implementations§
impl Freeze for ManagedValueDependency
impl RefUnwindSafe for ManagedValueDependency
impl Send for ManagedValueDependency
impl Sync for ManagedValueDependency
impl Unpin for ManagedValueDependency
impl UnwindSafe for ManagedValueDependency
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