pub enum LayerSelection {
All,
Include {
patterns: Vec<LayerPattern>,
strict: bool,
},
}Expand description
Layer inclusion filter applied to PCB and footprint SVG renders.
Variants§
All
Emit operations from all layers.
Include
Emit only operations matching at least one LayerPattern.
Fields
§
patterns: Vec<LayerPattern>Implementations§
Trait Implementations§
Source§impl Clone for LayerSelection
impl Clone for LayerSelection
Source§fn clone(&self) -> LayerSelection
fn clone(&self) -> LayerSelection
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 LayerSelection
impl Debug for LayerSelection
Source§impl Default for LayerSelection
impl Default for LayerSelection
Source§fn default() -> LayerSelection
fn default() -> LayerSelection
Returns the “default value” for a type. Read more
impl Eq for LayerSelection
Source§impl PartialEq for LayerSelection
impl PartialEq for LayerSelection
impl StructuralPartialEq for LayerSelection
Auto Trait Implementations§
impl Freeze for LayerSelection
impl RefUnwindSafe for LayerSelection
impl Send for LayerSelection
impl Sync for LayerSelection
impl Unpin for LayerSelection
impl UnsafeUnpin for LayerSelection
impl UnwindSafe for LayerSelection
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> 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.