pub enum DataTrait {
Show 81 variants
Option,
Vec,
ToI8,
ToI16,
ToI32,
ToI64,
ToI128,
ToU8,
ToU16,
ToU32,
ToU64,
ToU128,
ToF32,
ToF64,
ToBool,
ToByte,
ToChar,
ToString,
TryToI8,
TryToI16,
TryToI32,
TryToI64,
TryToI128,
TryToU8,
TryToU16,
TryToU32,
TryToU64,
TryToU128,
TryToF32,
TryToF64,
TryToBool,
TryToByte,
TryToChar,
TryToString,
SaturatingToI8,
SaturatingToI16,
SaturatingToI32,
SaturatingToI64,
SaturatingToI128,
SaturatingToU8,
SaturatingToU16,
SaturatingToU32,
SaturatingToU64,
SaturatingToU128,
SaturatingToF32,
SaturatingToF64,
Bounded,
Binary,
Signed,
Float,
PartialEquality,
Equality,
PartialOrder,
Order,
Add,
CheckedAdd,
SaturatingAdd,
WrappingAdd,
Sub,
CheckedSub,
SaturatingSub,
WrappingSub,
Mul,
CheckedMul,
SaturatingMul,
WrappingMul,
Div,
CheckedDiv,
Rem,
CheckedRem,
Neg,
CheckedNeg,
WrappingNeg,
Pow,
CheckedPow,
Euclid,
CheckedEuclid,
Hash,
Serialize,
Deserialize,
Display,
}Variants§
Option
Vec
ToI8
ToI16
ToI32
ToI64
ToI128
ToU8
ToU16
ToU32
ToU64
ToU128
ToF32
ToF64
ToBool
ToByte
ToChar
ToString
TryToI8
TryToI16
TryToI32
TryToI64
TryToI128
TryToU8
TryToU16
TryToU32
TryToU64
TryToU128
TryToF32
TryToF64
TryToBool
TryToByte
TryToChar
TryToString
SaturatingToI8
SaturatingToI16
SaturatingToI32
SaturatingToI64
SaturatingToI128
SaturatingToU8
SaturatingToU16
SaturatingToU32
SaturatingToU64
SaturatingToU128
SaturatingToF32
SaturatingToF64
Bounded
Binary
Signed
Float
PartialEquality
Equality
PartialOrder
Order
Add
CheckedAdd
SaturatingAdd
WrappingAdd
Sub
CheckedSub
SaturatingSub
WrappingSub
Mul
CheckedMul
SaturatingMul
WrappingMul
Div
CheckedDiv
Rem
CheckedRem
Neg
CheckedNeg
WrappingNeg
Pow
CheckedPow
Euclid
CheckedEuclid
Hash
Serialize
Deserialize
Display
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataTrait
impl<'de> Deserialize<'de> for DataTrait
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&DataTrait> for DataTrait
impl From<&DataTrait> for DataTrait
Source§fn from(value: &CommonDataTrait) -> Self
fn from(value: &CommonDataTrait) -> Self
Converts to this type from the input type.
Source§impl Into<DataTrait> for &DataTrait
impl Into<DataTrait> for &DataTrait
Source§fn into(self) -> CommonDataTrait
fn into(self) -> CommonDataTrait
Converts this type into the (usually inferred) input type.
Source§impl Into<DataTrait> for DataTrait
impl Into<DataTrait> for DataTrait
Source§fn into(self) -> CommonDataTrait
fn into(self) -> CommonDataTrait
Converts this type into the (usually inferred) input type.
impl StructuralPartialEq for DataTrait
Auto Trait Implementations§
impl Freeze for DataTrait
impl RefUnwindSafe for DataTrait
impl Send for DataTrait
impl Sync for DataTrait
impl Unpin for DataTrait
impl UnsafeUnpin for DataTrait
impl UnwindSafe for DataTrait
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<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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more