[][src]Trait packed_struct::PrimitiveEnumStaticStr

pub trait PrimitiveEnumStaticStr where
    Self: Sized + Copy + PrimitiveEnum
{ fn to_display_str(&self) -> &'static str;
fn all_variants() -> &'static [Self]

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
; }

Static display formatters.

Required methods

fn to_display_str(&self) -> &'static str

Display value, same as the name of a particular variant.

fn all_variants() -> &'static [Self]

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]

A list all possible string variants.

Loading content...

Implementors

Loading content...