pub struct Inertia {
pub ixx: f64,
pub ixy: f64,
pub ixz: f64,
pub iyy: f64,
pub iyz: f64,
pub izz: f64,
}
Fields§
§ixx: f64
§ixy: f64
§ixz: f64
§iyy: f64
§iyz: f64
§izz: f64
Trait Implementations§
source§impl YaDeserialize for Inertia
impl YaDeserialize for Inertia
fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
source§impl YaSerialize for Inertia
impl YaSerialize for Inertia
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>
Auto Trait Implementations§
impl RefUnwindSafe for Inertia
impl Send for Inertia
impl Sync for Inertia
impl Unpin for Inertia
impl UnwindSafe for Inertia
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