Enum strict_encoding::stl::U5
source · #[repr(u8)]pub enum U5 {
Show 32 variants
_0 = 0,
_1 = 1,
_2 = 2,
_3 = 3,
_4 = 4,
_5 = 5,
_6 = 6,
_7 = 7,
_8 = 8,
_9 = 9,
_10 = 10,
_11 = 11,
_12 = 12,
_13 = 13,
_14 = 14,
_15 = 15,
_16 = 16,
_17 = 17,
_18 = 18,
_19 = 19,
_20 = 20,
_21 = 21,
_22 = 22,
_23 = 23,
_24 = 24,
_25 = 25,
_26 = 26,
_27 = 27,
_28 = 28,
_29 = 29,
_30 = 30,
_31 = 31,
}
Variants§
_0 = 0
_1 = 1
_2 = 2
_3 = 3
_4 = 4
_5 = 5
_6 = 6
_7 = 7
_8 = 8
_9 = 9
_10 = 10
_11 = 11
_12 = 12
_13 = 13
_14 = 14
_15 = 15
_16 = 16
_17 = 17
_18 = 18
_19 = 19
_20 = 20
_21 = 21
_22 = 22
_23 = 23
_24 = 24
_25 = 25
_26 = 26
_27 = 27
_28 = 28
_29 = 29
_30 = 30
_31 = 31
Trait Implementations§
source§impl Ord for U5
impl Ord for U5
source§impl PartialOrd for U5
impl PartialOrd for U5
source§impl StrictDecode for U5
impl StrictDecode for U5
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
source§impl StrictEncode for U5
impl StrictEncode for U5
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, writer: impl WriteRaw) -> Result<()>
source§impl StrictEnum for U5
impl StrictEnum for U5
fn from_variant_name( name: &VariantName, ) -> Result<Self, VariantError<&VariantName>>
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictSum for U5
impl StrictSum for U5
const ALL_VARIANTS: &'static [(u8, &'static str)] = _
fn variant_name(&self) -> &'static str
fn strict_check_variants()
fn variant_name_by_tag(tag: u8) -> Option<VariantName>
fn variant_ord(&self) -> u8
source§impl StrictType for U5
impl StrictType for U5
const STRICT_LIB_NAME: &'static str = LIB_NAME_STD
fn strict_name() -> Option<TypeName>
impl Copy for U5
impl Eq for U5
impl StructuralPartialEq for U5
Auto Trait Implementations§
impl Freeze for U5
impl RefUnwindSafe for U5
impl Send for U5
impl Sync for U5
impl Unpin for U5
impl UnwindSafe for U5
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)