pub enum PlayerVerticalBand {
Ground,
LowAir,
HighAir,
}Variants§
Implementations§
Source§impl PlayerVerticalBand
impl PlayerVerticalBand
pub fn from_height(height: f32) -> Self
pub fn as_label(self) -> StatLabel
pub fn is_grounded(self) -> bool
pub fn is_airborne(self) -> bool
pub fn is_high_air(self) -> bool
Trait Implementations§
Source§impl Clone for PlayerVerticalBand
impl Clone for PlayerVerticalBand
Source§fn clone(&self) -> PlayerVerticalBand
fn clone(&self) -> PlayerVerticalBand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayerVerticalBand
impl Debug for PlayerVerticalBand
Source§impl PartialEq for PlayerVerticalBand
impl PartialEq for PlayerVerticalBand
impl Copy for PlayerVerticalBand
impl Eq for PlayerVerticalBand
impl StructuralPartialEq for PlayerVerticalBand
Auto Trait Implementations§
impl Freeze for PlayerVerticalBand
impl RefUnwindSafe for PlayerVerticalBand
impl Send for PlayerVerticalBand
impl Sync for PlayerVerticalBand
impl Unpin for PlayerVerticalBand
impl UnsafeUnpin for PlayerVerticalBand
impl UnwindSafe for PlayerVerticalBand
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