pub struct MechanicalComponent {
pub geometry_name: String,
pub part_number: String,
pub units: String,
pub height: f32,
pub outline: Vec<Point>,
}Expand description
Represents a mechanical component in the IDF format. http://www.aertia.com/docs/priware/IDF_V30_Spec.pdf#page=34
Fields§
§geometry_name: String§part_number: String§units: String§height: f32§outline: Vec<Point>Trait Implementations§
Source§impl Clone for MechanicalComponent
impl Clone for MechanicalComponent
Source§fn clone(&self) -> MechanicalComponent
fn clone(&self) -> MechanicalComponent
Returns a duplicate 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 MechanicalComponent
impl Debug for MechanicalComponent
Source§impl Default for MechanicalComponent
impl Default for MechanicalComponent
Source§fn default() -> MechanicalComponent
fn default() -> MechanicalComponent
Returns the “default value” for a type. Read more
Source§impl PartialEq for MechanicalComponent
impl PartialEq for MechanicalComponent
Source§impl PartialOrd for MechanicalComponent
impl PartialOrd for MechanicalComponent
impl StructuralPartialEq for MechanicalComponent
Auto Trait Implementations§
impl Freeze for MechanicalComponent
impl RefUnwindSafe for MechanicalComponent
impl Send for MechanicalComponent
impl Sync for MechanicalComponent
impl Unpin for MechanicalComponent
impl UnwindSafe for MechanicalComponent
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