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
cap_count

Size of the capability table.

Methods

impl MessageSize

fn plus_eq(&mut self, other: MessageSize)

Trait Implementations

Derived Implementations

impl PartialEq for MessageSize

fn eq(&self, __arg_0: &MessageSize) -> bool

fn ne(&self, __arg_0: &MessageSize) -> bool

impl Copy for MessageSize

impl Clone for MessageSize

fn clone(&self) -> MessageSize

1.0.0fn clone_from(&mut self, source: &Self)