pub enum ApertureAttribute {
ApertureFunction(ApertureFunction),
DrillTolerance {
plus: f64,
minus: f64,
},
FlashText {
text: String,
mode: TextMode,
mirroring: Option<TextMirroring>,
font: Option<String>,
size: Option<i32>,
comment: Option<String>,
},
UserDefined {
name: String,
values: Vec<String>,
},
}Variants§
ApertureFunction(ApertureFunction)
DrillTolerance
FlashText
Fields
§
mirroring: Option<TextMirroring>UserDefined
Trait Implementations§
Source§impl Clone for ApertureAttribute
impl Clone for ApertureAttribute
Source§fn clone(&self) -> ApertureAttribute
fn clone(&self) -> ApertureAttribute
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApertureAttribute
impl Debug for ApertureAttribute
Source§impl From<ApertureAttribute> for Command
impl From<ApertureAttribute> for Command
Source§fn from(val: ApertureAttribute) -> Self
fn from(val: ApertureAttribute) -> Self
Converts to this type from the input type.
Source§impl From<ApertureAttribute> for ExtendedCode
impl From<ApertureAttribute> for ExtendedCode
Source§fn from(val: ApertureAttribute) -> Self
fn from(val: ApertureAttribute) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ApertureAttribute
impl PartialEq for ApertureAttribute
impl StructuralPartialEq for ApertureAttribute
Auto Trait Implementations§
impl Freeze for ApertureAttribute
impl RefUnwindSafe for ApertureAttribute
impl Send for ApertureAttribute
impl Sync for ApertureAttribute
impl Unpin for ApertureAttribute
impl UnwindSafe for ApertureAttribute
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)