pub struct TimepointSmall(/* private fields */);
Implementations§
Trait Implementations§
Source§impl AsMut<Val> for TimepointSmall
impl AsMut<Val> for TimepointSmall
Source§impl AsRef<Val> for TimepointSmall
impl AsRef<Val> for TimepointSmall
Source§impl Clone for TimepointSmall
impl Clone for TimepointSmall
Source§fn clone(&self) -> TimepointSmall
fn clone(&self) -> TimepointSmall
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<E: Env> Compare<TimepointSmall> for E
impl<E: Env> Compare<TimepointSmall> for E
Source§impl Debug for TimepointSmall
impl Debug for TimepointSmall
Source§impl From<&TimepointSmall> for Val
impl From<&TimepointSmall> for Val
Source§fn from(b: &TimepointSmall) -> Self
fn from(b: &TimepointSmall) -> Self
Converts to this type from the input type.
Source§impl From<TimepointSmall> for TimepointVal
impl From<TimepointSmall> for TimepointVal
Source§fn from(s: TimepointSmall) -> Self
fn from(s: TimepointSmall) -> Self
Converts to this type from the input type.
Source§impl From<TimepointSmall> for Val
impl From<TimepointSmall> for Val
Source§fn from(b: TimepointSmall) -> Self
fn from(b: TimepointSmall) -> Self
Converts to this type from the input type.
Source§impl From<TimepointSmall> for u64
impl From<TimepointSmall> for u64
Source§fn from(value: TimepointSmall) -> Self
fn from(value: TimepointSmall) -> Self
Converts to this type from the input type.
Source§impl Hash for TimepointSmall
impl Hash for TimepointSmall
Source§impl Ord for TimepointSmall
impl Ord for TimepointSmall
Source§impl PartialEq for TimepointSmall
impl PartialEq for TimepointSmall
Source§impl PartialOrd for TimepointSmall
impl PartialOrd for TimepointSmall
Source§impl TryFrom<&TimepointSmall> for ScVal
impl TryFrom<&TimepointSmall> for ScVal
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: &TimepointSmall) -> Result<Self, ConversionError>
fn try_from(value: &TimepointSmall) -> Result<Self, ConversionError>
Performs the conversion.
Source§impl TryFrom<&Val> for TimepointSmall
impl TryFrom<&Val> for TimepointSmall
Source§impl TryFrom<TimepointSmall> for ScVal
impl TryFrom<TimepointSmall> for ScVal
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TimepointSmall) -> Result<Self, ConversionError>
fn try_from(value: TimepointSmall) -> Result<Self, ConversionError>
Performs the conversion.
Source§impl TryFrom<TimepointVal> for TimepointSmall
impl TryFrom<TimepointVal> for TimepointSmall
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<Val> for TimepointSmall
impl TryFrom<Val> for TimepointSmall
Source§impl TryFrom<u64> for TimepointSmall
impl TryFrom<u64> for TimepointSmall
Source§impl<E: Env> TryFromVal<E, &TimepointSmall> for Val
impl<E: Env> TryFromVal<E, &TimepointSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&TimepointSmall) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, TimepointSmall> for Val
impl<E: Env> TryFromVal<E, TimepointSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &TimepointSmall) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, Val> for TimepointSmall
impl<E: Env> TryFromVal<E, Val> for TimepointSmall
Source§impl WasmiMarshal for TimepointSmall
impl WasmiMarshal for TimepointSmall
fn try_marshal_from_value(v: Value) -> Option<Self>
fn marshal_from_self(self) -> Value
impl Copy for TimepointSmall
impl Eq for TimepointSmall
Auto Trait Implementations§
impl Freeze for TimepointSmall
impl RefUnwindSafe for TimepointSmall
impl Send for TimepointSmall
impl Sync for TimepointSmall
impl Unpin for TimepointSmall
impl UnwindSafe for TimepointSmall
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
type Error = E
fn compare( &self, a: &(T, U, V, W), b: &(T, U, V, W), ) -> Result<Ordering, <C as Compare<(T, U, V, W)>>::Error>
Source§impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
type Error = E
fn compare( &self, a: &(T, U, V, W, X), b: &(T, U, V, W, X), ) -> Result<Ordering, <C as Compare<(T, U, V, W, X)>>::Error>
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.