pub struct ObjectContainer {
pub id: u32,
pub system: System,
pub container_type: ContainerType,
pub name: String,
pub internal_name: String,
pub position: Vector3,
pub rot_vel: Vector3,
pub rot_adj: Vector3,
pub rot_quat: Quaternion,
pub body_radius: f64,
pub om_radius: f64,
pub grid_radius: f64,
}Expand description
Celestial body or station container
Fields§
§id: u32§system: System§container_type: ContainerType§name: String§internal_name: String§position: Vector3§rot_vel: Vector3§rot_adj: Vector3§rot_quat: Quaternion§body_radius: f64§om_radius: f64§grid_radius: f64Implementations§
Trait Implementations§
Source§impl Clone for ObjectContainer
impl Clone for ObjectContainer
Source§fn clone(&self) -> ObjectContainer
fn clone(&self) -> ObjectContainer
Returns a copy 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 Debug for ObjectContainer
impl Debug for ObjectContainer
Source§impl<'de> Deserialize<'de> for ObjectContainer
impl<'de> Deserialize<'de> for ObjectContainer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ObjectContainer
impl RefUnwindSafe for ObjectContainer
impl Send for ObjectContainer
impl Sync for ObjectContainer
impl Unpin for ObjectContainer
impl UnwindSafe for ObjectContainer
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