Enum tc_value::IntType [−][src]
pub enum IntType { I8, I16, I32, I64, Int, }
The type of an Int
.
Variants
Trait Implementations
impl<'de> Deserialize<'de> for IntType
[src]
impl<'de> Deserialize<'de> for IntType
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IntType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<IntType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl From<IntType> for NumberType
[src]
impl From<IntType> for NumberType
[src]pub fn from(it: IntType) -> NumberType
[src]
impl NumberClass for IntType
[src]
impl NumberClass for IntType
[src]impl PartialOrd<IntType> for IntType
[src]
impl PartialOrd<IntType> for IntType
[src]impl Serialize for IntType
[src]
impl Serialize for IntType
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for IntType
[src]
impl StructuralEq for IntType
[src]impl StructuralPartialEq for IntType
[src]
impl StructuralPartialEq for IntType
[src]Auto Trait Implementations
impl RefUnwindSafe for IntType
impl RefUnwindSafe for IntType
impl UnwindSafe for IntType
impl UnwindSafe for IntType
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<F, T> TryCastFrom<F> for T where
T: CastFrom<F>,
[src]
impl<F, T> TryCastFrom<F> for T where
T: CastFrom<F>,
[src]pub fn can_cast_from(&F) -> bool
[src]
pub fn opt_cast_from(f: F) -> Option<T>
[src]
pub fn try_cast_from<Err, OnErr>(value: T, on_err: OnErr) -> Result<Self, Err> where
OnErr: FnOnce(&T) -> Err,
[src]
OnErr: FnOnce(&T) -> Err,
impl<F, T> TryCastInto<T> for F where
T: TryCastFrom<F>,
[src]
impl<F, T> TryCastInto<T> for F where
T: TryCastFrom<F>,
[src]pub fn can_cast_into(&self) -> bool
[src]
pub fn opt_cast_into(self) -> Option<T>
[src]
pub fn try_cast_into<Err, OnErr>(self, on_err: OnErr) -> Result<T, Err> where
OnErr: FnOnce(&Self) -> Err,
[src]
OnErr: FnOnce(&Self) -> Err,