pub struct RestorablePrimitiveValueData<T> { /* private fields */ }Expand description
Dart’s private _defaultValue of _RestorablePrimitiveValueN; a primitive property carries
this bag under the field primitive.
Implementations§
Source§impl<T> RestorablePrimitiveValueData<T>
impl<T> RestorablePrimitiveValueData<T>
Sourcepub fn new(default_value: T) -> RestorablePrimitiveValueData<T>
pub fn new(default_value: T) -> RestorablePrimitiveValueData<T>
The bag holding the value the property falls back to.
Auto Trait Implementations§
impl<T> Forget for RestorablePrimitiveValueData<T>
impl<T> Freeze for RestorablePrimitiveValueData<T>where
T: Freeze,
impl<T> Move for RestorablePrimitiveValueData<T>
impl<T> RefUnwindSafe for RestorablePrimitiveValueData<T>where
T: RefUnwindSafe,
impl<T> Send for RestorablePrimitiveValueData<T>where
T: Send,
impl<T> Sync for RestorablePrimitiveValueData<T>where
T: Sync,
impl<T> Unpin for RestorablePrimitiveValueData<T>where
T: Unpin,
impl<T> UnsafeUnpin for RestorablePrimitiveValueData<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RestorablePrimitiveValueData<T>where
T: UnwindSafe,
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