Struct strict_encoding::TypeName
source · pub struct TypeName(_);
Trait Implementations§
source§impl<'de> Deserialize<'de> for TypeName
impl<'de> Deserialize<'de> for TypeName
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 Ord for TypeName
impl Ord for TypeName
source§impl PartialEq<TypeName> for TypeName
impl PartialEq<TypeName> for TypeName
source§impl PartialOrd<TypeName> for TypeName
impl PartialOrd<TypeName> for TypeName
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StrictDecode for TypeName
impl StrictDecode for TypeName
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
source§impl StrictDumb for TypeName
impl StrictDumb for TypeName
fn strict_dumb() -> Self
source§impl StrictEncode for TypeName
impl StrictEncode for TypeName
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
source§impl StrictTuple for TypeName
impl StrictTuple for TypeName
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for TypeName
impl StrictType for TypeName
const STRICT_LIB_NAME: &'static str = STRICT_TYPES_LIB
fn strict_name() -> Option<TypeName>
source§impl Wrapper for TypeName
impl Wrapper for TypeName
source§impl WrapperMut for TypeName
impl WrapperMut for TypeName
source§fn as_inner_mut(&mut self) -> &mut <Self as Wrapper>::Inner
fn as_inner_mut(&mut self) -> &mut <Self as Wrapper>::Inner
Returns a mutable reference to the inner representation for the wrapper
type
impl Eq for TypeName
impl StrictProduct for TypeName
impl StructuralEq for TypeName
impl StructuralPartialEq for TypeName
Auto Trait Implementations§
impl RefUnwindSafe for TypeName
impl Send for TypeName
impl Sync for TypeName
impl Unpin for TypeName
impl UnwindSafe for TypeName
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.