#[repr(C, align(8))]pub struct Word { /* private fields */ }
Expand description
8 bytes, aligned to an 8-byte boundary.
Internally, capnproto-rust allocates message buffers using this type, to guarantee alignment.
Implementations§
Trait Implementations§
source§impl PartialEq for Word
impl PartialEq for Word
impl Copy for Word
impl Eq for Word
impl StructuralPartialEq for Word
Auto Trait Implementations§
impl Freeze for Word
impl RefUnwindSafe for Word
impl Send for Word
impl Sync for Word
impl Unpin for Word
impl UnwindSafe for Word
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more