Struct capnp::MessageSize
[−]
[src]
pub struct MessageSize { pub word_count: u64, pub cap_count: u32, }
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]
fn plus_eq(&mut self, other: MessageSize)
Trait Implementations
impl Clone for MessageSize
[src]
fn clone(&self) -> MessageSize
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for MessageSize
[src]
impl Debug for MessageSize
[src]
impl PartialEq for MessageSize
[src]
fn eq(&self, __arg_0: &MessageSize) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MessageSize) -> bool
This method tests for !=
.