struct Shelf {
x: u16,
y: u16,
height: u16,
bucket_width: u16,
first_bucket: BucketIndex,
}
Fields§
§x: u16
§y: u16
§height: u16
§bucket_width: u16
§first_bucket: BucketIndex
Trait Implementations§
source§impl<'de> Deserialize<'de> for Shelf
impl<'de> Deserialize<'de> for Shelf
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
Auto Trait Implementations§
impl Freeze for Shelf
impl RefUnwindSafe for Shelf
impl Send for Shelf
impl Sync for Shelf
impl Unpin for Shelf
impl UnwindSafe for Shelf
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