pub struct MessageInfoBuilder { /* private fields */ }
Expand description
Helper for constructing MessageInfo
.
Implementations§
Source§impl MessageInfoBuilder
impl MessageInfoBuilder
pub fn build(self) -> MessageInfo
pub fn label(self, label: Word) -> Self
pub fn caps_unwrapped(self, caps_unwrapped: usize) -> Self
pub fn extra_caps(self, extra_caps: usize) -> Self
pub fn length(self, length: usize) -> Self
Trait Implementations§
Source§impl Clone for MessageInfoBuilder
impl Clone for MessageInfoBuilder
Source§fn clone(&self) -> MessageInfoBuilder
fn clone(&self) -> MessageInfoBuilder
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MessageInfoBuilder
impl Debug for MessageInfoBuilder
Source§impl Default for MessageInfoBuilder
impl Default for MessageInfoBuilder
Source§fn default() -> MessageInfoBuilder
fn default() -> MessageInfoBuilder
Returns the “default value” for a type. Read more
Source§impl From<MessageInfoBuilder> for MessageInfo
impl From<MessageInfoBuilder> for MessageInfo
Source§fn from(builder: MessageInfoBuilder) -> Self
fn from(builder: MessageInfoBuilder) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MessageInfoBuilder
impl PartialEq for MessageInfoBuilder
impl Copy for MessageInfoBuilder
impl Eq for MessageInfoBuilder
impl StructuralPartialEq for MessageInfoBuilder
Auto Trait Implementations§
impl Freeze for MessageInfoBuilder
impl RefUnwindSafe for MessageInfoBuilder
impl Send for MessageInfoBuilder
impl Sync for MessageInfoBuilder
impl Unpin for MessageInfoBuilder
impl UnwindSafe for MessageInfoBuilder
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)