pub struct BoidData {
pub boid_type: BoidType,
pub spanwer: i32,
pub position: [i16; 3],
pub funny1: [i16; 3],
pub funny2: [i16; 3],
pub funny3: [i16; 3],
pub funny4: [f32; 3],
pub speed: f32,
}Fields§
§boid_type: BoidType§spanwer: i32§position: [i16; 3]§funny1: [i16; 3]§funny2: [i16; 3]§funny3: [i16; 3]§funny4: [f32; 3]§speed: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoidData
impl RefUnwindSafe for BoidData
impl Send for BoidData
impl Sync for BoidData
impl Unpin for BoidData
impl UnwindSafe for BoidData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more