Crate base_traits Copy item path Source AsF64 Trait defining instance method as_f64() : f64 that provides a
cost-free conversion into f64. AsI32 Trait defining instance method as_i32() : i32 that provides a
cost-free conversion into i32. AsI64 Trait defining instance method as_i64() : i64 that provides a
cost-free conversion into i64. AsI128 Trait defining instance method as_i128() : i128 that provides a
cost-free conversion into i128. AsISize Trait defining instance method as_isize() : isize that provides a
cost-free conversion into isize. AsStr Trait defining instance method as_str() : &str that allows a type to
expose its contiguous character representation to client code. AsU32 Trait defining instance method as_u32() : u32 that provides a
cost-free conversion into u32. AsU64 Trait defining instance method as_u64() : u64 that provides a
cost-free conversion into u64. AsU128 Trait defining instance method as_u128() : u128 that provides a
cost-free conversion into u128. AsUSize Trait defining instance method as_usize() : usize that provides a
cost-free conversion into usize. Infinity Trait defining class method infinity() : T that creates an instance of
the implementing type that is conceptually (or actually) infinity. Integer IsDefault Trait defining instance method is_default() : bool that allows a type
instance to indicate whether it holds the “default” value. IsEmpty Trait defining instance method is_empty() : bool that indicates
whether the implementing type instance is logically empty. IsInfinity Trait defining instance method is_infinity() : bool that indicates
whether the implementing type instance is conceptually (or actually)
infinite. IsNAN Trait defining instance method is_nan() : bool that indicates
whether the implementing type instance has a value that is deemed to be
“not a number” (as in so for f32::NAN f64::NAN ). IsZero Trait defining instance method is_zero() : bool that indicates whether
the implementing type instance is numerically zero. Len Trait defining instance method len() : usize that indicates
whether the implementing type instance is logically empty. Numeric Real Scalar Signed ToF64 Trait defining instance method to_f64() : f64 that provides a
no-cost or low-cost conversion into f64. ToI16 Trait defining instance method to_i16() : i16 that provides a
no-cost or low-cost conversion into i16. ToI32 Trait defining instance method to_i32() : i32 that provides a
no-cost or low-cost conversion into i32. ToI64 Trait defining instance method to_i64() : i64 that provides a
no-cost or low-cost conversion into i64. ToI128 Trait defining instance method to_i128() : i128 that provides a
no-cost or low-cost conversion into i128. ToISize Trait defining instance method to_isize() : isize that provides a
no-cost or low-cost conversion into isize. ToU16 Trait defining instance method to_u16() : u16 that provides a
no-cost or low-cost conversion into u16. ToU32 Trait defining instance method to_u32() : u32 that provides a
no-cost or low-cost conversion into u32. ToU64 Trait defining instance method to_u64() : u64 that provides a
no-cost or low-cost conversion into u64. ToU128 Trait defining instance method to_u128() : u128 that provides a
no-cost or low-cost conversion into u128. ToUSize Trait defining instance method to_usize() : usize that provides a
no-cost or low-cost conversion into usize. Unsigned Zero Trait defining class method zero() : T that creates an instance of
the implementing type that is conceptually (or actually) zero.