pub struct ExporterInfo {
pub kind: &'static str,
pub label: &'static str,
pub doc: &'static str,
pub formats: &'static [&'static str],
}Expand description
What an exporter is to a front end: how it is asked for, what it is offered as, and the formats it writes.
Fields§
§kind: &'static strThe name it is asked for by: stl.
label: &'static strWhat it is offered as: STL.
doc: &'static strWhat the file is for, in a few words: mesh, for 3-D printing.
formats: &'static [&'static str]The formats it writes, by the extension of their files, the one
written unless asked for another first: ["svg", "dxf"].
Trait Implementations§
Source§impl Clone for ExporterInfo
impl Clone for ExporterInfo
Source§fn clone(&self) -> ExporterInfo
fn clone(&self) -> ExporterInfo
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 ExporterInfo
impl Debug for ExporterInfo
Source§impl PartialEq for ExporterInfo
impl PartialEq for ExporterInfo
Source§impl Serialize for ExporterInfo
impl Serialize for ExporterInfo
impl StructuralPartialEq for ExporterInfo
Auto Trait Implementations§
impl Freeze for ExporterInfo
impl RefUnwindSafe for ExporterInfo
impl Send for ExporterInfo
impl Sync for ExporterInfo
impl Unpin for ExporterInfo
impl UnsafeUnpin for ExporterInfo
impl UnwindSafe for ExporterInfo
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