Struct entmet_lib::entities::entity::EndCrystal
source · pub struct EndCrystal {
pub beam_target: Option<Position>,
pub show_bottom: bool,
/* private fields */
}Expand description
An instance of an end crystal
Fields§
§beam_target: Option<Position>The target of the beam, if it is targetting something
show_bottom: boolWhether the bottom should be visible or not
Trait Implementations§
source§impl Default for EndCrystal
impl Default for EndCrystal
source§impl Deref for EndCrystal
impl Deref for EndCrystal
source§impl DerefMut for EndCrystal
impl DerefMut for EndCrystal
source§impl PartialEq for EndCrystal
impl PartialEq for EndCrystal
source§fn eq(&self, other: &EndCrystal) -> bool
fn eq(&self, other: &EndCrystal) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EndCrystal
Auto Trait Implementations§
impl Freeze for EndCrystal
impl RefUnwindSafe for EndCrystal
impl Send for EndCrystal
impl Sync for EndCrystal
impl Unpin for EndCrystal
impl UnwindSafe for EndCrystal
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