pub enum FileAttribute {
Part(Part),
FileFunction(FileFunction),
FilePolarity(FilePolarity),
SameCoordinates(Option<Ident>),
CreationDate(GerberDate),
GenerationSoftware(GenerationSoftware),
ProjectId {
id: String,
uuid: Uuid,
revision: String,
},
Md5(String),
UserDefined {
name: String,
values: Vec<String>,
},
}
Variants§
Part(Part)
“%TF.Part,(Single|Array|FabricationPanel|Coupon|Other,
FileFunction(FileFunction)
“%TF.FileFunction,
FilePolarity(FilePolarity)
“%TF.FilePolarity,(Positive|Negative)>*%
SameCoordinates(Option<Ident>)
“%TF.SameCoordinates[,
CreationDate(GerberDate)
“%TF.CreationDate,2015-02-23T15:59:51+01:00*%” ISO8601 + TZ
GenerationSoftware(GenerationSoftware)
“%TF.GenerationSoftware,
ProjectId
“%TF.ProjectId,
Md5(String)
“%TF.MD5,6ab9e892830469cdff7e3e346331d404*%”
UserDefined
Trait Implementations§
Source§impl Clone for FileAttribute
impl Clone for FileAttribute
Source§fn clone(&self) -> FileAttribute
fn clone(&self) -> FileAttribute
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 FileAttribute
impl Debug for FileAttribute
Source§impl From<FileAttribute> for Command
impl From<FileAttribute> for Command
Source§fn from(val: FileAttribute) -> Self
fn from(val: FileAttribute) -> Self
Converts to this type from the input type.
Source§impl From<FileAttribute> for ExtendedCode
impl From<FileAttribute> for ExtendedCode
Source§fn from(val: FileAttribute) -> Self
fn from(val: FileAttribute) -> Self
Converts to this type from the input type.
Source§impl Hash for FileAttribute
impl Hash for FileAttribute
Source§impl PartialEq for FileAttribute
impl PartialEq for FileAttribute
impl Eq for FileAttribute
impl StructuralPartialEq for FileAttribute
Auto Trait Implementations§
impl Freeze for FileAttribute
impl RefUnwindSafe for FileAttribute
impl Send for FileAttribute
impl Sync for FileAttribute
impl Unpin for FileAttribute
impl UnwindSafe for FileAttribute
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