pub struct PlayServerPlayerAbilitiesSpec {
pub flags: PlayerAbilityFlags,
pub flying_speed: f32,
pub field_of_view_modifier: f32,
}
Fields§
§flags: PlayerAbilityFlags
§flying_speed: f32
§field_of_view_modifier: f32
Trait Implementations§
Source§impl Clone for PlayServerPlayerAbilitiesSpec
impl Clone for PlayServerPlayerAbilitiesSpec
Source§fn clone(&self) -> PlayServerPlayerAbilitiesSpec
fn clone(&self) -> PlayServerPlayerAbilitiesSpec
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 Deserialize for PlayServerPlayerAbilitiesSpec
impl Deserialize for PlayServerPlayerAbilitiesSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(PlayerAbilityFlags, f32, f32)> for PlayServerPlayerAbilitiesSpec
impl From<(PlayerAbilityFlags, f32, f32)> for PlayServerPlayerAbilitiesSpec
Source§impl From<PlayServerPlayerAbilitiesSpec> for (PlayerAbilityFlags, f32, f32)
impl From<PlayServerPlayerAbilitiesSpec> for (PlayerAbilityFlags, f32, f32)
Source§fn from(other: PlayServerPlayerAbilitiesSpec) -> Self
fn from(other: PlayServerPlayerAbilitiesSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayServerPlayerAbilitiesSpec
impl PartialEq for PlayServerPlayerAbilitiesSpec
Source§fn eq(&self, other: &PlayServerPlayerAbilitiesSpec) -> bool
fn eq(&self, other: &PlayServerPlayerAbilitiesSpec) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for PlayServerPlayerAbilitiesSpec
impl Serialize for PlayServerPlayerAbilitiesSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayServerPlayerAbilitiesSpec
Auto Trait Implementations§
impl Freeze for PlayServerPlayerAbilitiesSpec
impl RefUnwindSafe for PlayServerPlayerAbilitiesSpec
impl Send for PlayServerPlayerAbilitiesSpec
impl Sync for PlayServerPlayerAbilitiesSpec
impl Unpin for PlayServerPlayerAbilitiesSpec
impl UnwindSafe for PlayServerPlayerAbilitiesSpec
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