Struct robot_description_builder::link_data::InertialData
source · pub struct InertialData {
pub origin: Option<Transform>,
pub mass: f32,
pub ixx: f32,
pub ixy: f32,
pub ixz: f32,
pub iyy: f32,
pub iyz: f32,
pub izz: f32,
}
Expand description
TODO: Figure out if things should be private or not?
Fields§
§origin: Option<Transform>
§mass: f32
§ixx: f32
§ixy: f32
§ixz: f32
§iyy: f32
§iyz: f32
§izz: f32
Trait Implementations§
source§impl Clone for InertialData
impl Clone for InertialData
source§fn clone(&self) -> InertialData
fn clone(&self) -> InertialData
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 InertialData
impl Debug for InertialData
source§impl Default for InertialData
impl Default for InertialData
source§fn default() -> InertialData
fn default() -> InertialData
Returns the “default value” for a type. Read more
source§impl PartialEq<InertialData> for InertialData
impl PartialEq<InertialData> for InertialData
source§fn eq(&self, other: &InertialData) -> bool
fn eq(&self, other: &InertialData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToURDF for InertialData
impl ToURDF for InertialData
impl Copy for InertialData
impl StructuralPartialEq for InertialData
Auto Trait Implementations§
impl RefUnwindSafe for InertialData
impl Send for InertialData
impl Sync for InertialData
impl Unpin for InertialData
impl UnwindSafe for InertialData
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.