Trait flatdata::StructMut[][src]

pub trait StructMut: Debug + From<*mut u8> {
    type Const: Struct;
    fn as_mut_ptr(&mut self) -> *mut u8;
}

A mutable type in flatdata used for writing data.

Each struct in generated code has a corresponding type with suffix Mut which implements this trait.

Associated Types

Corresponding mutable type used for reading data.

Required Methods

Raw pointer to the mutable data.

Implementors