Struct entmet_lib::entities::entity::BlockDisplay
source · pub struct BlockDisplay<T: ?Sized + BlockStateIdentifier> {
pub block_state: T,
/* private fields */
}Expand description
An instance of an item display
Fields§
§block_state: TThe
Trait Implementations§
source§impl<T: Default + ?Sized + BlockStateIdentifier> Default for BlockDisplay<T>
impl<T: Default + ?Sized + BlockStateIdentifier> Default for BlockDisplay<T>
source§fn default() -> BlockDisplay<T>
fn default() -> BlockDisplay<T>
Returns the “default value” for a type. Read more
source§impl<T: BlockStateIdentifier> Deref for BlockDisplay<T>
impl<T: BlockStateIdentifier> Deref for BlockDisplay<T>
source§impl<T: BlockStateIdentifier> DerefMut for BlockDisplay<T>
impl<T: BlockStateIdentifier> DerefMut for BlockDisplay<T>
source§impl<T: PartialEq + ?Sized + BlockStateIdentifier> PartialEq for BlockDisplay<T>
impl<T: PartialEq + ?Sized + BlockStateIdentifier> PartialEq for BlockDisplay<T>
source§fn eq(&self, other: &BlockDisplay<T>) -> bool
fn eq(&self, other: &BlockDisplay<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<T: ?Sized + BlockStateIdentifier> StructuralPartialEq for BlockDisplay<T>
Auto Trait Implementations§
impl<T> Freeze for BlockDisplay<T>
impl<T> RefUnwindSafe for BlockDisplay<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for BlockDisplay<T>
impl<T> Sync for BlockDisplay<T>
impl<T> Unpin for BlockDisplay<T>
impl<T> UnwindSafe for BlockDisplay<T>where
T: UnwindSafe + ?Sized,
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