pub struct RoomInventory(/* private fields */);Expand description
Positive scalar used by boarding policy where zero would erase a real labor or stay requirement.
Implementations§
Trait Implementations§
Source§impl Clone for RoomInventory
impl Clone for RoomInventory
Source§fn clone(&self) -> RoomInventory
fn clone(&self) -> RoomInventory
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 RoomInventory
impl Debug for RoomInventory
Source§impl<'de> Deserialize<'de> for RoomInventory
impl<'de> Deserialize<'de> for RoomInventory
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for RoomInventory
impl Hash for RoomInventory
Source§impl Ord for RoomInventory
impl Ord for RoomInventory
Source§fn cmp(&self, other: &RoomInventory) -> Ordering
fn cmp(&self, other: &RoomInventory) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RoomInventory
impl PartialEq for RoomInventory
Source§impl PartialOrd for RoomInventory
impl PartialOrd for RoomInventory
Source§impl Serialize for RoomInventory
impl Serialize for RoomInventory
impl Copy for RoomInventory
impl Eq for RoomInventory
impl StructuralPartialEq for RoomInventory
Auto Trait Implementations§
impl Freeze for RoomInventory
impl RefUnwindSafe for RoomInventory
impl Send for RoomInventory
impl Sync for RoomInventory
impl Unpin for RoomInventory
impl UnsafeUnpin for RoomInventory
impl UnwindSafe for RoomInventory
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