pub enum BoardLayer {
TopCopper,
BottomCopper,
InnerCopper(u8),
SilkscreenTop,
SilkscreenBottom,
SolderMaskTop,
SolderMaskBottom,
Mechanical,
Custom(String),
}Expand description
Simple board layer vocabulary.
Variants§
TopCopper
BottomCopper
InnerCopper(u8)
SilkscreenTop
SilkscreenBottom
SolderMaskTop
SolderMaskBottom
Mechanical
Custom(String)
Trait Implementations§
Source§impl Clone for BoardLayer
impl Clone for BoardLayer
Source§fn clone(&self) -> BoardLayer
fn clone(&self) -> BoardLayer
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 BoardLayer
impl Debug for BoardLayer
Source§impl Display for BoardLayer
impl Display for BoardLayer
Source§impl FromStr for BoardLayer
impl FromStr for BoardLayer
Source§impl Hash for BoardLayer
impl Hash for BoardLayer
Source§impl Ord for BoardLayer
impl Ord for BoardLayer
Source§fn cmp(&self, other: &BoardLayer) -> Ordering
fn cmp(&self, other: &BoardLayer) -> 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 BoardLayer
impl PartialEq for BoardLayer
Source§fn eq(&self, other: &BoardLayer) -> bool
fn eq(&self, other: &BoardLayer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BoardLayer
impl PartialOrd for BoardLayer
impl Eq for BoardLayer
impl StructuralPartialEq for BoardLayer
Auto Trait Implementations§
impl Freeze for BoardLayer
impl RefUnwindSafe for BoardLayer
impl Send for BoardLayer
impl Sync for BoardLayer
impl Unpin for BoardLayer
impl UnsafeUnpin for BoardLayer
impl UnwindSafe for BoardLayer
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