Struct entmet_lib::entities::entity::FireworkRocketEntity
source · pub struct FireworkRocketEntity {
pub slot: Slot,
pub user_entity_id: Option<i32>,
pub shot_at_angle: bool,
/* private fields */
}Expand description
An instance of a firework rocket
Fields§
§slot: SlotThe firework data
user_entity_id: Option<i32>The entity that used it, if one used it
shot_at_angle: boolif it is shot from an angle (crossbow)
Trait Implementations§
source§impl Default for FireworkRocketEntity
impl Default for FireworkRocketEntity
source§fn default() -> FireworkRocketEntity
fn default() -> FireworkRocketEntity
Returns the “default value” for a type. Read more
source§impl Deref for FireworkRocketEntity
impl Deref for FireworkRocketEntity
Auto Trait Implementations§
impl Freeze for FireworkRocketEntity
impl RefUnwindSafe for FireworkRocketEntity
impl Send for FireworkRocketEntity
impl Sync for FireworkRocketEntity
impl Unpin for FireworkRocketEntity
impl UnwindSafe for FireworkRocketEntity
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