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
fn strict_name() -> Option<TypeName>
source§impl StrictType for i8
impl StrictType for i8
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for i16
impl StrictType for i16
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for i32
impl StrictType for i32
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for i64
impl StrictType for i64
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for i128
impl StrictType for i128
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u8
impl StrictType for u8
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u16
impl StrictType for u16
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u32
impl StrictType for u32
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u64
impl StrictType for u64
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u128
impl StrictType for u128
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for ()
impl StrictType for ()
const STRICT_LIB_NAME: &'static str = LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for i256
impl StrictType for i256
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for i512
impl StrictType for i512
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for i1024
impl StrictType for i1024
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u256
impl StrictType for u256
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u512
impl StrictType for u512
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u1024
impl StrictType for u1024
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u1
impl StrictType for u1
const STRICT_LIB_NAME: &'static str = LIB_NAME_STD
fn strict_name() -> Option<TypeName>
source§impl StrictType for u2
impl StrictType for u2
const STRICT_LIB_NAME: &'static str = LIB_NAME_STD
fn strict_name() -> Option<TypeName>
source§impl StrictType for u3
impl StrictType for u3
const STRICT_LIB_NAME: &'static str = LIB_NAME_STD
fn strict_name() -> Option<TypeName>
source§impl StrictType for u4
impl StrictType for u4
const STRICT_LIB_NAME: &'static str = LIB_NAME_STD
fn strict_name() -> Option<TypeName>
source§impl StrictType for u5
impl StrictType for u5
const STRICT_LIB_NAME: &'static str = LIB_NAME_STD
fn strict_name() -> Option<TypeName>
source§impl StrictType for u6
impl StrictType for u6
const STRICT_LIB_NAME: &'static str = LIB_NAME_STD
fn strict_name() -> Option<TypeName>
source§impl StrictType for u7
impl StrictType for u7
const STRICT_LIB_NAME: &'static str = LIB_NAME_STD
fn strict_name() -> Option<TypeName>
source§impl StrictType for u24
impl StrictType for u24
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u40
impl StrictType for u40
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u48
impl StrictType for u48
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for u56
impl StrictType for u56
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for NonZeroU8
impl StrictType for NonZeroU8
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for NonZeroU16
impl StrictType for NonZeroU16
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for NonZeroU32
impl StrictType for NonZeroU32
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for NonZeroU64
impl StrictType for NonZeroU64
const STRICT_LIB_NAME: &'static str = crate::LIB_EMBEDDED
fn strict_name() -> Option<TypeName>
source§impl StrictType for NonZeroU128
impl StrictType for NonZeroU128
const STRICT_LIB_NAME: &'static str = crate::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
fn strict_name() -> Option<TypeName>
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
fn strict_name() -> Option<TypeName>
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
fn strict_name() -> Option<TypeName>
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
fn strict_name() -> Option<TypeName>
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
fn strict_name() -> Option<TypeName>
source§impl StrictType for X87DoubleExtended
Available on crate feature float
only.
impl StrictType for X87DoubleExtended
Available on crate feature
float
only.