pub struct MessageSize {
    pub word_count: u64,
    pub cap_count: u32,
}Expand description
Size of a message. Every generated struct has a method .total_size() that returns this.
Fields§
§word_count: u64§cap_count: u32Size of the capability table.
Trait Implementations§
Source§impl AddAssign for MessageSize
 
impl AddAssign 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 duplicate 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 for MessageSize
 
impl PartialEq for MessageSize
impl Copy for MessageSize
impl StructuralPartialEq for MessageSize
Auto Trait Implementations§
impl Freeze for MessageSize
impl RefUnwindSafe for MessageSize
impl Send for MessageSize
impl Sync for MessageSize
impl Unpin for MessageSize
impl UnwindSafe for MessageSize
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more