pub struct WktExporter;Expand description
WKT Exporter.
Trait Implementations§
Source§impl Exporter for WktExporter
impl Exporter for WktExporter
Source§fn export(&self, model: &Model, filename: &Path) -> Result<Value, ExportError>
fn export(&self, model: &Model, filename: &Path) -> Result<Value, ExportError>
Export the model if the model is marked for export.
Source§fn output_type(&self) -> OutputType
fn output_type(&self) -> OutputType
The expected model output type of this exporter. Read more
Source§fn model_parameters(&self) -> ParameterValueList
fn model_parameters(&self) -> ParameterValueList
Parameters that add exporter specific attributes to a model. Read more
Source§fn export_parameters(&self) -> ParameterValueList
fn export_parameters(&self) -> ParameterValueList
Parameters for the export attribute:
export = svg("filename.svg")Source§impl FileIoInterface for WktExporter
impl FileIoInterface for WktExporter
Source§fn file_extensions(&self) -> Vec<CompactString>
fn file_extensions(&self) -> Vec<CompactString>
Return file extensions this IO interface supports.
Auto Trait Implementations§
impl Freeze for WktExporter
impl RefUnwindSafe for WktExporter
impl Send for WktExporter
impl Sync for WktExporter
impl Unpin for WktExporter
impl UnwindSafe for WktExporter
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more