Struct capnp::private::layout::StructSize
source · pub struct StructSize {
pub data: WordCount16,
pub pointers: WirePointerCount16,
}
Fields§
§data: WordCount16
§pointers: WirePointerCount16
Implementations§
source§impl StructSize
impl StructSize
pub fn total(&self) -> WordCount32
Trait Implementations§
source§impl Clone for StructSize
impl Clone for StructSize
source§fn clone(&self) -> StructSize
fn clone(&self) -> StructSize
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StructSize
impl Debug for StructSize
impl Copy for StructSize
Auto Trait Implementations§
impl Freeze for StructSize
impl RefUnwindSafe for StructSize
impl Send for StructSize
impl Sync for StructSize
impl Unpin for StructSize
impl UnwindSafe for StructSize
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