Struct entmet_lib::entities::entity::ItemDisplay
source · pub struct ItemDisplay {
pub slot: Slot,
pub display_type: DisplayType,
/* private fields */
}Expand description
An instance of an item display
Fields§
§slot: SlotSlot data of the displayed item
display_type: DisplayTypedisplay type
Trait Implementations§
source§impl Default for ItemDisplay
impl Default for ItemDisplay
source§impl Deref for ItemDisplay
impl Deref for ItemDisplay
Auto Trait Implementations§
impl Freeze for ItemDisplay
impl RefUnwindSafe for ItemDisplay
impl Send for ItemDisplay
impl Sync for ItemDisplay
impl Unpin for ItemDisplay
impl UnwindSafe for ItemDisplay
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