#[repr(u8)]pub enum PcbObjectId {
Show 24 variants
None = 0,
Arc = 1,
Pad = 2,
Via = 3,
Track = 4,
Text = 5,
Fill = 6,
Connection = 7,
Net = 8,
Component = 9,
Polygon = 10,
Region = 11,
ComponentBody = 12,
Dimension = 13,
Coordinate = 14,
Class = 15,
Rule = 16,
FromTo = 17,
DifferentialPair = 18,
Violation = 19,
Embedded = 20,
EmbeddedBoard = 21,
Board = 24,
BoardOutline = 25,
}Expand description
PCB primitive object IDs.
Based on DXP API TObjectId enumeration.
Variants§
None = 0
Arc = 1
Arc primitive.
Pad = 2
Pad primitive.
Via = 3
Via primitive.
Track = 4
Track primitive.
Text = 5
Text primitive.
Fill = 6
Fill (solid rectangle) primitive.
Connection = 7
Ratsnest connection.
Net = 8
Net definition.
Component = 9
Component (footprint instance).
Polygon = 10
Polygon pour.
Region = 11
Region (copper/keepout area).
ComponentBody = 12
Component 3D body.
Dimension = 13
Dimension annotation.
Coordinate = 14
Coordinate annotation.
Class = 15
Net/component class.
Rule = 16
Design rule.
FromTo = 17
From-To definition.
DifferentialPair = 18
Differential pair definition.
Violation = 19
DRC violation marker.
Embedded = 20
Embedded document.
EmbeddedBoard = 21
Embedded board (panel).
Board = 24
Board definition.
BoardOutline = 25
Board outline.
Implementations§
Trait Implementations§
Source§impl Clone for PcbObjectId
impl Clone for PcbObjectId
Source§fn clone(&self) -> PcbObjectId
fn clone(&self) -> PcbObjectId
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 PcbObjectId
impl Debug for PcbObjectId
Source§impl Default for PcbObjectId
impl Default for PcbObjectId
Source§fn default() -> PcbObjectId
fn default() -> PcbObjectId
Returns the “default value” for a type. Read more
Source§impl PartialEq for PcbObjectId
impl PartialEq for PcbObjectId
impl Copy for PcbObjectId
impl Eq for PcbObjectId
impl StructuralPartialEq for PcbObjectId
Auto Trait Implementations§
impl Freeze for PcbObjectId
impl RefUnwindSafe for PcbObjectId
impl Send for PcbObjectId
impl Sync for PcbObjectId
impl Unpin for PcbObjectId
impl UnwindSafe for PcbObjectId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more