Trait strict_encoding::StrictType
source · pub trait StrictType: Sized {
const STRICT_LIB_NAME: &'static str;
// Provided method
fn strict_name() -> Option<TypeName> { ... }
}Required Associated Constants§
const STRICT_LIB_NAME: &'static str
Provided Methods§
fn strict_name() -> Option<TypeName>
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl StrictType for bool
impl StrictType for bool
const STRICT_LIB_NAME: &'static str = LIB_NAME_STD
source§impl StrictType for i8
impl StrictType for i8
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for i16
impl StrictType for i16
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for i32
impl StrictType for i32
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for i64
impl StrictType for i64
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for i128
impl StrictType for i128
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for u8
impl StrictType for u8
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for u16
impl StrictType for u16
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for u32
impl StrictType for u32
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for u64
impl StrictType for u64
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for u128
impl StrictType for u128
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for ()
impl StrictType for ()
const STRICT_LIB_NAME: &'static str = LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for Double
Available on crate feature float only.
impl StrictType for Double
Available on crate feature
float only.const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for Half
Available on crate feature float only.
impl StrictType for Half
Available on crate feature
float only.const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for Oct
Available on crate feature float only.
impl StrictType for Oct
Available on crate feature
float only.const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for Quad
Available on crate feature float only.
impl StrictType for Quad
Available on crate feature
float only.const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for Single
Available on crate feature float only.
impl StrictType for Single
Available on crate feature
float only.const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
source§impl StrictType for X87DoubleExtended
Available on crate feature float only.
impl StrictType for X87DoubleExtended
Available on crate feature
float only.