pub struct StealResult {
pub n_items: usize,
pub items: [LineItem; 3],
}Expand description
Payload returned by a successful steal.
Fields§
§n_items: usizeCount of valid items in items.
items: [LineItem; 3]The slot’s items (only items[..n_items] are valid).
Trait Implementations§
Source§impl Clone for StealResult
impl Clone for StealResult
Source§fn clone(&self) -> StealResult
fn clone(&self) -> StealResult
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 StealResult
Source§impl Debug for StealResult
impl Debug for StealResult
impl Eq for StealResult
Source§impl PartialEq for StealResult
impl PartialEq for StealResult
impl StructuralPartialEq for StealResult
Auto Trait Implementations§
impl Freeze for StealResult
impl RefUnwindSafe for StealResult
impl Send for StealResult
impl Sync for StealResult
impl Unpin for StealResult
impl UnsafeUnpin for StealResult
impl UnwindSafe for StealResult
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