Struct capnp::private::layout::StructSize
source · pub struct StructSize {
pub data: WordCount16,
pub pointers: WirePointerCount16,
}
Fields
data: WordCount16
pointers: WirePointerCount16
Implementations
sourceimpl StructSize
impl StructSize
pub fn total(&self) -> WordCount32
Trait Implementations
sourceimpl Clone for StructSize
impl Clone for StructSize
sourcefn clone(&self) -> StructSize
fn clone(&self) -> StructSize
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for StructSize
Auto Trait Implementations
impl RefUnwindSafe for StructSize
impl Send for StructSize
impl Sync for StructSize
impl Unpin for StructSize
impl UnwindSafe for StructSize
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more