Struct entmet_lib::entities::entity::ItemFrame
source · pub struct ItemFrame {
pub slot: Slot,
pub rotation: i32,
/* private fields */
}Expand description
An instance of an item frame
Fields§
§slot: SlotThe item data of the displayed item
rotation: i32The rotation of the displayed item
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ItemFrame
impl RefUnwindSafe for ItemFrame
impl Send for ItemFrame
impl Sync for ItemFrame
impl Unpin for ItemFrame
impl UnwindSafe for ItemFrame
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