Home
last modified time | relevance | path

Searched refs:PushAlignment (Results 1 – 2 of 2) sorted by relevance

/external/flatbuffers/rust/flatbuffers/src/
Dpush.rs33 fn alignment() -> PushAlignment { in alignment()
34 PushAlignment::new(align_of::<Self::Output>()) in alignment()
40 pub struct PushAlignment(usize); struct
41 impl PushAlignment { implementation
44 PushAlignment { 0: x } in new()
52 PushAlignment::new(max(self.0, o)) in max_of()
Dbuilder.rs26 use push::{Push, PushAlignment};
253 self.align(data.len() + 1, PushAlignment::new(SIZE_UOFFSET)); in create_byte_string()
586 let ma = PushAlignment::new(self.min_align); in finish_with_opts()
605 fn align(&mut self, len: usize, alignment: PushAlignment) { in align() argument