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