Trait flatbuffers::Push[][src]

pub trait Push: Sized {
    type Output;
    fn push(&self, dst: &mut [u8], _rest: &[u8]);

    fn size() -> usize { ... }
fn alignment() -> PushAlignment { ... } }

Trait to abstract over functionality needed to write values (either owned or referenced). Used in FlatBufferBuilder and implemented for generated types.

Associated Types

Required Methods

Provided Methods

Implementations on Foreign Types

impl Push for bool
[src]

impl Push for u8
[src]

impl Push for i8
[src]

impl Push for u16
[src]

impl Push for i16
[src]

impl Push for u32
[src]

impl Push for i32
[src]

impl Push for u64
[src]

impl Push for i64
[src]

impl Push for f32
[src]

impl Push for f64
[src]

Implementors