pub enum DocumentType {
DOCTYPE_UNKNOWN = 0,
DOCTYPE_SCHEMATIC = 1,
DOCTYPE_SYMBOL = 2,
DOCTYPE_PCB = 3,
DOCTYPE_FOOTPRINT = 4,
DOCTYPE_DRAWING_SHEET = 5,
DOCTYPE_PROJECT = 6,
}
Variants§
DOCTYPE_UNKNOWN = 0
DOCTYPE_SCHEMATIC = 1
DOCTYPE_SYMBOL = 2
DOCTYPE_PCB = 3
DOCTYPE_FOOTPRINT = 4
DOCTYPE_DRAWING_SHEET = 5
DOCTYPE_PROJECT = 6
Trait Implementations§
Source§impl Clone for DocumentType
impl Clone for DocumentType
Source§fn clone(&self) -> DocumentType
fn clone(&self) -> DocumentType
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 DocumentType
impl Debug for DocumentType
Source§impl Default for DocumentType
impl Default for DocumentType
Source§impl Enum for DocumentType
impl Enum for DocumentType
Source§const VALUES: &'static [DocumentType]
const VALUES: &'static [DocumentType]
All enum values for enum type.
Source§impl EnumFull for DocumentType
impl EnumFull for DocumentType
Source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
Source§impl Hash for DocumentType
impl Hash for DocumentType
Source§impl PartialEq for DocumentType
impl PartialEq for DocumentType
impl Copy for DocumentType
impl Eq for DocumentType
impl StructuralPartialEq for DocumentType
Auto Trait Implementations§
impl Freeze for DocumentType
impl RefUnwindSafe for DocumentType
impl Send for DocumentType
impl Sync for DocumentType
impl Unpin for DocumentType
impl UnwindSafe for DocumentType
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