Struct FovPlayer
pub struct FovPlayer {
pub flying: bool,
pub walking_speed: f32,
pub movement_speed: f64,
pub using: Option<(UseItem, i32)>,
}Expand description
What AbstractClientPlayer.getFieldOfViewModifier reads.
Fields§
§flying: boolAbilities.flying.
walking_speed: f32Abilities.getWalkingSpeed().
movement_speed: f64getAttributeValue(MOVEMENT_SPEED).
using: Option<(UseItem, i32)>The item in use and its use ticks, when using one.
Trait Implementations§
impl Copy for FovPlayer
impl StructuralPartialEq for FovPlayer
Auto Trait Implementations§
impl Freeze for FovPlayer
impl RefUnwindSafe for FovPlayer
impl Send for FovPlayer
impl Sync for FovPlayer
impl Unpin for FovPlayer
impl UnsafeUnpin for FovPlayer
impl UnwindSafe for FovPlayer
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