#[repr(transparent)]pub struct Type(pub u8);
Expand description
Top-level Type value, enabling extensible type-specific metadata. We can add new logical types to Type without breaking backwards compatibility
Tuple Fields
0: u8
Implementations
Returns the variant’s name or “” if unknown.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Runs the verifier for this type, assuming its at position pos
in the verifier’s buffer.
Should not need to be called directly. Read more
Auto Trait Implementations
impl RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.