Struct capnp::MessageSize
source · Expand description
Size of a message. Every generated struct has a method .total_size()
that returns this.
Fields
word_count: u64
cap_count: u32
Size of the capability table.
Implementations
sourceimpl MessageSize
impl MessageSize
pub fn plus_eq(&mut self, other: MessageSize)
Trait Implementations
sourceimpl Clone for MessageSize
impl Clone for MessageSize
sourcefn clone(&self) -> MessageSize
fn clone(&self) -> MessageSize
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 moresourceimpl Debug for MessageSize
impl Debug for MessageSize
sourceimpl PartialEq<MessageSize> for MessageSize
impl PartialEq<MessageSize> for MessageSize
sourcefn eq(&self, other: &MessageSize) -> bool
fn eq(&self, other: &MessageSize) -> bool
impl Copy for MessageSize
impl StructuralPartialEq for MessageSize
Auto Trait Implementations
impl RefUnwindSafe for MessageSize
impl Send for MessageSize
impl Sync for MessageSize
impl Unpin for MessageSize
impl UnwindSafe for MessageSize
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