pub struct SerializedInventorySet { /* private fields */ }Implementations§
Source§impl SerializedInventorySet
impl SerializedInventorySet
pub fn try_new(units: Vec<SerializedInventoryUnit>) -> DomainResult<Self>
Source§impl SerializedInventorySet
impl SerializedInventorySet
pub fn units(&self) -> <Vec<SerializedInventoryUnit> as FieldAccess>::Output<'_> ⓘ
Trait Implementations§
Source§impl Clone for SerializedInventorySet
impl Clone for SerializedInventorySet
Source§fn clone(&self) -> SerializedInventorySet
fn clone(&self) -> SerializedInventorySet
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 moreSource§impl Debug for SerializedInventorySet
impl Debug for SerializedInventorySet
Source§impl PartialEq for SerializedInventorySet
impl PartialEq for SerializedInventorySet
Source§fn eq(&self, other: &SerializedInventorySet) -> bool
fn eq(&self, other: &SerializedInventorySet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SerializedInventorySet
impl StructuralPartialEq for SerializedInventorySet
Auto Trait Implementations§
impl Freeze for SerializedInventorySet
impl RefUnwindSafe for SerializedInventorySet
impl Send for SerializedInventorySet
impl Sync for SerializedInventorySet
impl Unpin for SerializedInventorySet
impl UnsafeUnpin for SerializedInventorySet
impl UnwindSafe for SerializedInventorySet
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