Struct entmet_lib::entities::entity::ThrownItemProtectile
source · pub struct ThrownItemProtectile {
pub slot: Slot,
/* private fields */
}Expand description
An iterface for a thrown projectile
Fields§
§slot: SlotThe item data of the thrown protectile
Trait Implementations§
source§impl Default for ThrownItemProtectile
impl Default for ThrownItemProtectile
source§fn default() -> ThrownItemProtectile
fn default() -> ThrownItemProtectile
Returns the “default value” for a type. Read more
source§impl Deref for ThrownItemProtectile
impl Deref for ThrownItemProtectile
source§impl DerefMut for ThrownItemProtectile
impl DerefMut for ThrownItemProtectile
source§impl PartialEq for ThrownItemProtectile
impl PartialEq for ThrownItemProtectile
source§fn eq(&self, other: &ThrownItemProtectile) -> bool
fn eq(&self, other: &ThrownItemProtectile) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ThrownItemProtectile
Auto Trait Implementations§
impl Freeze for ThrownItemProtectile
impl RefUnwindSafe for ThrownItemProtectile
impl Send for ThrownItemProtectile
impl Sync for ThrownItemProtectile
impl Unpin for ThrownItemProtectile
impl UnwindSafe for ThrownItemProtectile
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