pub enum BoardFootprintLayerRole {
Copper,
Silkscreen,
Soldermask,
Paste,
Fab,
Courtyard,
BoardOutline,
Drill,
User,
Other,
}Expand description
Normalized PCB layer roles mirrored by enriched footprint-child metadata.
JSON schema
{
"description": "Normalized PCB layer roles mirrored by enriched footprint-child metadata.",
"type": "string",
"enum": [
"copper",
"silkscreen",
"soldermask",
"paste",
"fab",
"courtyard",
"board-outline",
"drill",
"user",
"other"
]
}Variants§
Trait Implementations§
Source§impl Clone for BoardFootprintLayerRole
impl Clone for BoardFootprintLayerRole
Source§fn clone(&self) -> BoardFootprintLayerRole
fn clone(&self) -> BoardFootprintLayerRole
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 moreimpl Copy for BoardFootprintLayerRole
Source§impl Debug for BoardFootprintLayerRole
impl Debug for BoardFootprintLayerRole
Source§impl<'de> Deserialize<'de> for BoardFootprintLayerRole
impl<'de> Deserialize<'de> for BoardFootprintLayerRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BoardFootprintLayerRole
impl Display for BoardFootprintLayerRole
impl Eq for BoardFootprintLayerRole
Source§impl FromStr for BoardFootprintLayerRole
impl FromStr for BoardFootprintLayerRole
Source§impl Hash for BoardFootprintLayerRole
impl Hash for BoardFootprintLayerRole
Source§impl Ord for BoardFootprintLayerRole
impl Ord for BoardFootprintLayerRole
Source§fn cmp(&self, other: &BoardFootprintLayerRole) -> Ordering
fn cmp(&self, other: &BoardFootprintLayerRole) -> 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 BoardFootprintLayerRole
impl PartialEq for BoardFootprintLayerRole
Source§impl PartialOrd for BoardFootprintLayerRole
impl PartialOrd for BoardFootprintLayerRole
Source§impl Serialize for BoardFootprintLayerRole
impl Serialize for BoardFootprintLayerRole
impl StructuralPartialEq for BoardFootprintLayerRole
Source§impl TryFrom<&String> for BoardFootprintLayerRole
impl TryFrom<&String> for BoardFootprintLayerRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for BoardFootprintLayerRole
impl TryFrom<&str> for BoardFootprintLayerRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for BoardFootprintLayerRole
impl TryFrom<String> for BoardFootprintLayerRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for BoardFootprintLayerRole
impl RefUnwindSafe for BoardFootprintLayerRole
impl Send for BoardFootprintLayerRole
impl Sync for BoardFootprintLayerRole
impl Unpin for BoardFootprintLayerRole
impl UnsafeUnpin for BoardFootprintLayerRole
impl UnwindSafe for BoardFootprintLayerRole
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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.