pub struct DrainResult {
pub n_items: usize,
pub items: [LineItem; 3],
}Expand description
Items pulled from a mailbox.
Fields§
§n_items: usizeHow many of the items slots are filled.
items: [LineItem; 3]The items.
Trait Implementations§
Source§impl Clone for DrainResult
impl Clone for DrainResult
Source§fn clone(&self) -> DrainResult
fn clone(&self) -> DrainResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DrainResult
Source§impl Debug for DrainResult
impl Debug for DrainResult
impl Eq for DrainResult
Source§impl PartialEq for DrainResult
impl PartialEq for DrainResult
impl StructuralPartialEq for DrainResult
Auto Trait Implementations§
impl Freeze for DrainResult
impl RefUnwindSafe for DrainResult
impl Send for DrainResult
impl Sync for DrainResult
impl Unpin for DrainResult
impl UnsafeUnpin for DrainResult
impl UnwindSafe for DrainResult
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