pub struct ComponentPlacement {
pub package_name: String,
pub part_number: String,
pub reference_designator: String,
pub x: f32,
pub y: f32,
pub mounting_offset: f32,
pub rotation_angle: f32,
pub board_side: String,
pub placement_status: String,
}Expand description
Represents a component placement in the IDF format.
Fields§
§package_name: String§part_number: String§reference_designator: String§x: f32§y: f32§mounting_offset: f32§rotation_angle: f32§board_side: String§placement_status: StringTrait Implementations§
Source§impl Clone for ComponentPlacement
impl Clone for ComponentPlacement
Source§fn clone(&self) -> ComponentPlacement
fn clone(&self) -> ComponentPlacement
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 ComponentPlacement
impl Debug for ComponentPlacement
Source§impl Default for ComponentPlacement
impl Default for ComponentPlacement
Source§fn default() -> ComponentPlacement
fn default() -> ComponentPlacement
Returns the “default value” for a type. Read more
Source§impl PartialEq for ComponentPlacement
impl PartialEq for ComponentPlacement
Source§impl PartialOrd for ComponentPlacement
impl PartialOrd for ComponentPlacement
impl StructuralPartialEq for ComponentPlacement
Auto Trait Implementations§
impl Freeze for ComponentPlacement
impl RefUnwindSafe for ComponentPlacement
impl Send for ComponentPlacement
impl Sync for ComponentPlacement
impl Unpin for ComponentPlacement
impl UnwindSafe for ComponentPlacement
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