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§
source§impl MessageSize
impl MessageSize
Trait Implementations§
source§impl AddAssign<MessageSize> for MessageSize
impl AddAssign<MessageSize> for MessageSize
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl Clone for MessageSize
impl Clone for MessageSize
source§fn clone(&self) -> MessageSize
fn clone(&self) -> MessageSize
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 MessageSize
impl Debug for MessageSize
source§impl PartialEq<MessageSize> for MessageSize
impl PartialEq<MessageSize> for MessageSize
source§fn eq(&self, other: &MessageSize) -> bool
fn eq(&self, other: &MessageSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.