pub struct EnvironmentState {
pub position: Vector3r,
pub geo_point: GeoPoint,
pub gravity: Vector3r,
pub air_pressure: f64,
pub temperature: f64,
pub air_density: f64,
}Expand description
—————– /// ENVIRONMENT STATE /// —————– ///
Fields§
§position: Vector3r§geo_point: GeoPoint§gravity: Vector3r§air_pressure: f64§temperature: f64§air_density: f64Trait Implementations§
Source§impl Default for EnvironmentState
impl Default for EnvironmentState
Source§fn default() -> EnvironmentState
fn default() -> EnvironmentState
Returns the “default value” for a type. Read more
Source§impl From<EnvironmentState> for Value
impl From<EnvironmentState> for Value
Source§fn from(value: EnvironmentState) -> Self
fn from(value: EnvironmentState) -> Self
Converts to this type from the input type.
Source§impl Iterable for EnvironmentState
impl Iterable for EnvironmentState
Auto Trait Implementations§
impl Freeze for EnvironmentState
impl RefUnwindSafe for EnvironmentState
impl Send for EnvironmentState
impl Sync for EnvironmentState
impl Unpin for EnvironmentState
impl UnsafeUnpin for EnvironmentState
impl UnwindSafe for EnvironmentState
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