Struct entmet_lib::entities::entity::Arrow
source · pub struct Arrow {
pub color: Option<Color>,
/* private fields */
}Expand description
An instance of a minecraft arrow or tipped arrow
Fields§
§color: Option<Color>The color of the arrow
§Note
The color should be set to None if it is an arrow and the color should be set for a
tipped arrow
Trait Implementations§
source§impl PartialEq for Arrow
impl PartialEq for Arrow
impl StructuralPartialEq for Arrow
Auto Trait Implementations§
impl Freeze for Arrow
impl RefUnwindSafe for Arrow
impl Send for Arrow
impl Sync for Arrow
impl Unpin for Arrow
impl UnwindSafe for Arrow
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