pub struct ActorVariantFlags {
pub can_shoot_while_flying: bool,
pub interpolate_color_in_hsv: bool,
pub has_unlimited_grenades: bool,
pub movement_switching_try_to_stay_with_friends: bool,
pub active_camouflage: bool,
pub super_active_camouflage: bool,
pub cannot_use_ranged_weapons: bool,
pub prefer_passenger_seat: bool,
}Fields§
§can_shoot_while_flying: bool§interpolate_color_in_hsv: bool§has_unlimited_grenades: bool§movement_switching_try_to_stay_with_friends: bool§active_camouflage: bool§super_active_camouflage: bool§cannot_use_ranged_weapons: bool§prefer_passenger_seat: boolImplementations§
Trait Implementations§
Source§impl Clone for ActorVariantFlags
impl Clone for ActorVariantFlags
Source§fn clone(&self) -> ActorVariantFlags
fn clone(&self) -> ActorVariantFlags
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 Default for ActorVariantFlags
impl Default for ActorVariantFlags
Source§fn default() -> ActorVariantFlags
fn default() -> ActorVariantFlags
Returns the “default value” for a type. Read more
Source§impl PartialEq for ActorVariantFlags
impl PartialEq for ActorVariantFlags
Source§impl TagSerialize for ActorVariantFlags
impl TagSerialize for ActorVariantFlags
Source§fn into_tag(
&self,
data: &mut Vec<u8>,
at: usize,
struct_end: usize,
) -> ErrorMessageResult<()>
fn into_tag( &self, data: &mut Vec<u8>, at: usize, struct_end: usize, ) -> ErrorMessageResult<()>
Serialize the data into tag format, returning an error on failure (except for out-of-bounds and allocation errors which will panic).
Source§fn from_tag(
data: &[u8],
at: usize,
struct_end: usize,
cursor: &mut usize,
) -> ErrorMessageResult<ActorVariantFlags>
fn from_tag( data: &[u8], at: usize, struct_end: usize, cursor: &mut usize, ) -> ErrorMessageResult<ActorVariantFlags>
Deserialize the data from tag format, returning an error on failure (except for allocation errors which will panic).
Source§fn into_tag_cached(
&self,
data: &mut [u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<()>where
Self: Sized,
fn into_tag_cached(
&self,
data: &mut [u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<()>where
Self: Sized,
Serialize the data into tag format in little endian, returning an error on failure (except for out-of-bounds and allocation errors which will panic).
Source§fn from_tag_cached(
data: &[u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<Self>where
Self: Sized,
fn from_tag_cached(
data: &[u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<Self>where
Self: Sized,
Deserialize the data from tag format from little endian, returning an error on failure (except for allocation errors which will panic).
impl Copy for ActorVariantFlags
impl StructuralPartialEq for ActorVariantFlags
Auto Trait Implementations§
impl Freeze for ActorVariantFlags
impl RefUnwindSafe for ActorVariantFlags
impl Send for ActorVariantFlags
impl Sync for ActorVariantFlags
impl Unpin for ActorVariantFlags
impl UnwindSafe for ActorVariantFlags
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