zerocopy_derive::repr

Trait KindRepr

source
pub trait KindRepr:
    'static
    + Sized
    + Ord {
    // Required methods
    fn is_align(&self) -> bool;
    fn is_align_gt_one(&self) -> bool;
    fn parse(meta: &Meta) -> Result<Self>;
}

Required Methods§

source

fn is_align(&self) -> bool

source

fn is_align_gt_one(&self) -> bool

source

fn parse(meta: &Meta) -> Result<Self>

Object Safety§

This trait is not object safe.

Implementors§