pub struct VirtualField<T> {
pub value: Result<T, Error>,
}Fields§
§value: Result<T, Error>Implementations§
Source§impl<T> VirtualField<T>
impl<T> VirtualField<T>
pub const fn new(value: Result<T, Error>) -> VirtualField<T>
Trait Implementations§
Source§impl<T> Clone for VirtualField<T>where
T: Clone,
impl<T> Clone for VirtualField<T>where
T: Clone,
Source§fn clone(&self) -> VirtualField<T>
fn clone(&self) -> VirtualField<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<T> Copy for VirtualField<T>where
T: Copy,
Source§impl<T> Debug for VirtualField<T>where
T: Debug,
impl<T> Debug for VirtualField<T>where
T: Debug,
Source§impl<T> InfallibleRead for VirtualField<T>where
T: Copy,
impl<T> InfallibleRead for VirtualField<T>where
T: Copy,
Auto Trait Implementations§
impl<T> Freeze for VirtualField<T>where
T: Freeze,
impl<T> RefUnwindSafe for VirtualField<T>where
T: RefUnwindSafe,
impl<T> Send for VirtualField<T>where
T: Send,
impl<T> Sync for VirtualField<T>where
T: Sync,
impl<T> Unpin for VirtualField<T>where
T: Unpin,
impl<T> UnsafeUnpin for VirtualField<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for VirtualField<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