pub struct Value<T>(/* private fields */);
Expand description
A Moment
-exclusive operable value.
Performing operations on this type will return
Moment
s that perform the operation on the
value instead of the standard compiler
behaviors.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Value<T>where
T: Freeze,
impl<T> RefUnwindSafe for Value<T>where
T: RefUnwindSafe,
impl<T> Send for Value<T>where
T: Send,
impl<T> Sync for Value<T>where
T: Sync,
impl<T> Unpin for Value<T>where
T: Unpin,
impl<T> UnwindSafe for Value<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<I, O> AsTryConvert<O> for I
impl<I, O> AsTryConvert<O> for I
Source§fn to_try_convert(self) -> TryConvert<Self, O>
fn to_try_convert(self) -> TryConvert<Self, O>
Create a
TryConvert
struct from this Moment
.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