Struct capnp::MessageSize [−][src]
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.
Methods
impl MessageSize
[src]
impl MessageSize
pub fn plus_eq(&mut self, other: MessageSize)
[src]
pub fn plus_eq(&mut self, other: MessageSize)
Trait Implementations
impl Clone for MessageSize
[src]
impl Clone for MessageSize
fn clone(&self) -> MessageSize
[src]
fn clone(&self) -> MessageSize
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for MessageSize
[src]
impl Copy for MessageSize
impl Debug for MessageSize
[src]
impl Debug for MessageSize
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for MessageSize
[src]
impl PartialEq for MessageSize
fn eq(&self, other: &MessageSize) -> bool
[src]
fn eq(&self, other: &MessageSize) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MessageSize) -> bool
[src]
fn ne(&self, other: &MessageSize) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for MessageSize
impl Send for MessageSize
impl Sync for MessageSize
impl Sync for MessageSize