Searched refs:PushAlignment (Results 1 – 2 of 2) sorted by relevance
33 fn alignment() -> PushAlignment { in alignment()34 PushAlignment::new(align_of::<Self::Output>()) in alignment()40 pub struct PushAlignment(usize); struct41 impl PushAlignment { implementation44 PushAlignment { 0: x } in new()52 PushAlignment::new(max(self.0, o)) in max_of()
26 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