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
type Output
Required Methods
Provided Methods
Implementations on Foreign Types
impl Push for bool
[src]
impl Push for bool
impl Push for u8
[src]
impl Push for u8
impl Push for i8
[src]
impl Push for i8
impl Push for u16
[src]
impl Push for u16
impl Push for i16
[src]
impl Push for i16
impl Push for u32
[src]
impl Push for u32
impl Push for i32
[src]
impl Push for i32
impl Push for u64
[src]
impl Push for u64
impl Push for i64
[src]
impl Push for i64
impl Push for f32
[src]
impl Push for f32
impl Push for f64
[src]
impl Push for f64
Implementors
impl<T> Push for WIPOffset<T> type Output = ForwardsUOffset<T>;
impl<T> Push for ForwardsUOffset<T> type Output = Self;
impl<T> Push for ForwardsVOffset<T> type Output = Self;
impl<T> Push for BackwardsSOffset<T> type Output = Self;