pub struct GlowItemFrameEntityData {
pub item_frame: ItemFrameEntityData,
}Expand description
Concrete synchronized entity data for vanilla entity glow_item_frame.
Fields§
§item_frame: ItemFrameEntityDataImplementations§
Source§impl GlowItemFrameEntityData
impl GlowItemFrameEntityData
Sourcepub fn item_frame(&self) -> &ItemFrameEntityData
pub fn item_frame(&self) -> &ItemFrameEntityData
Returns the ItemFrameEntityData layer.
Sourcepub fn item_frame_mut(&mut self) -> &mut ItemFrameEntityData
pub fn item_frame_mut(&mut self) -> &mut ItemFrameEntityData
Returns the mutable ItemFrameEntityData layer.
Sourcepub fn hanging_entity(&self) -> &HangingEntityData
pub fn hanging_entity(&self) -> &HangingEntityData
Returns the HangingEntityData layer.
Sourcepub fn hanging_entity_mut(&mut self) -> &mut HangingEntityData
pub fn hanging_entity_mut(&mut self) -> &mut HangingEntityData
Returns the mutable HangingEntityData layer.
Sourcepub fn base(&self) -> &BaseEntityData
pub fn base(&self) -> &BaseEntityData
Returns the BaseEntityData layer.
Sourcepub fn base_mut(&mut self) -> &mut BaseEntityData
pub fn base_mut(&mut self) -> &mut BaseEntityData
Returns the mutable BaseEntityData layer.
Sourcepub fn pack_dirty(&mut self) -> Option<Vec<DataValue>>
pub fn pack_dirty(&mut self) -> Option<Vec<DataValue>>
Pack all dirty values for network sync, clearing dirty flags.
Returns None if no values are dirty.
Trait Implementations§
Source§impl Clone for GlowItemFrameEntityData
impl Clone for GlowItemFrameEntityData
Source§fn clone(&self) -> GlowItemFrameEntityData
fn clone(&self) -> GlowItemFrameEntityData
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 GlowItemFrameEntityData
impl Debug for GlowItemFrameEntityData
Source§impl Default for GlowItemFrameEntityData
impl Default for GlowItemFrameEntityData
Source§impl VanillaEntityData for GlowItemFrameEntityData
impl VanillaEntityData for GlowItemFrameEntityData
Source§fn base(&self) -> &BaseEntityData
fn base(&self) -> &BaseEntityData
Returns the shared vanilla base entity-data layer.
Source§fn base_mut(&mut self) -> &mut BaseEntityData
fn base_mut(&mut self) -> &mut BaseEntityData
Returns the mutable shared vanilla base entity-data layer.
Auto Trait Implementations§
impl Freeze for GlowItemFrameEntityData
impl RefUnwindSafe for GlowItemFrameEntityData
impl Send for GlowItemFrameEntityData
impl Sync for GlowItemFrameEntityData
impl Unpin for GlowItemFrameEntityData
impl UnsafeUnpin for GlowItemFrameEntityData
impl UnwindSafe for GlowItemFrameEntityData
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