pub enum LayerPattern {
All,
Exact(String),
Suffix(String),
Unlayered,
}Expand description
Case-sensitive KiCad layer selector (*, exact name, *.Suffix, or <unlayered>).
Variants§
All
Match every layer and unlayered operations.
Exact(String)
Match one exact KiCad canonical layer name (e.g., "F.Cu").
Suffix(String)
Match any layer ending with the given dot-prefixed suffix (e.g., ".Cu").
Unlayered
Match only operations without an assigned PCB layer.
Implementations§
Trait Implementations§
Source§impl Clone for LayerPattern
impl Clone for LayerPattern
Source§fn clone(&self) -> LayerPattern
fn clone(&self) -> LayerPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LayerPattern
impl Debug for LayerPattern
impl Eq for LayerPattern
Source§impl Ord for LayerPattern
impl Ord for LayerPattern
Source§fn cmp(&self, other: &LayerPattern) -> Ordering
fn cmp(&self, other: &LayerPattern) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayerPattern
impl PartialEq for LayerPattern
Source§impl PartialOrd for LayerPattern
impl PartialOrd for LayerPattern
impl StructuralPartialEq for LayerPattern
Auto Trait Implementations§
impl Freeze for LayerPattern
impl RefUnwindSafe for LayerPattern
impl Send for LayerPattern
impl Sync for LayerPattern
impl Unpin for LayerPattern
impl UnsafeUnpin for LayerPattern
impl UnwindSafe for LayerPattern
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.