pub struct EntityEquipment {
pub mainhand: Option<ToolPredicate>,
pub offhand: Option<ToolPredicate>,
pub head: Option<ToolPredicate>,
pub chest: Option<ToolPredicate>,
pub legs: Option<ToolPredicate>,
pub feet: Option<ToolPredicate>,
}Expand description
Entity equipment predicate
Fields§
§mainhand: Option<ToolPredicate>§offhand: Option<ToolPredicate>§head: Option<ToolPredicate>§chest: Option<ToolPredicate>§legs: Option<ToolPredicate>§feet: Option<ToolPredicate>Trait Implementations§
Source§impl Clone for EntityEquipment
impl Clone for EntityEquipment
Source§fn clone(&self) -> EntityEquipment
fn clone(&self) -> EntityEquipment
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 moreAuto Trait Implementations§
impl Freeze for EntityEquipment
impl RefUnwindSafe for EntityEquipment
impl Send for EntityEquipment
impl Sync for EntityEquipment
impl Unpin for EntityEquipment
impl UnsafeUnpin for EntityEquipment
impl UnwindSafe for EntityEquipment
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