BoidSettings

Struct BoidSettings 

Source
#[repr(C, packed(4))]
pub struct BoidSettings {
Show 23 fields pub options: i32, pub last_state_id: i32, pub landing_smoothness: f32, pub height: f32, pub banking: f32, pub pitch: f32, pub health: f32, pub aggression: f32, pub strength: f32, pub accuracy: f32, pub range: f32, pub air_min_speed: f32, pub air_max_speed: f32, pub air_max_acc: f32, pub air_max_ave: f32, pub air_personal_space: f32, pub land_jump_speed: f32, pub land_max_speed: f32, pub land_max_acc: f32, pub land_max_ave: f32, pub land_personal_space: f32, pub land_stick_force: f32, pub states: ListBase,
}

Fields§

§options: i32§last_state_id: i32§landing_smoothness: f32§height: f32§banking: f32§pitch: f32§health: f32§aggression: f32§strength: f32§accuracy: f32§range: f32§air_min_speed: f32§air_max_speed: f32§air_max_acc: f32§air_max_ave: f32§air_personal_space: f32§land_jump_speed: f32§land_max_speed: f32§land_max_acc: f32§land_max_ave: f32§land_personal_space: f32§land_stick_force: f32§states: ListBase

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.