pub struct VtkExporter { /* private fields */ }Expand description
Writes VTK.
Implementations§
Source§impl VtkExporter
impl VtkExporter
Sourcepub fn unstructured_grid() -> Self
pub fn unstructured_grid() -> Self
XML UnstructuredGrid, at the default file-format version.
Sourcepub fn with_version(self, version: &'static str) -> Self
pub fn with_version(self, version: &'static str) -> Self
Set the file-format version written into the header.
"0.1", "1.0" or "2.2" for the XML flavours; "2.0", "3.0" or
"5.1" for the legacy one. Nothing else about the output changes - this
is what the file claims to be, and claiming a version a reader does
not know makes it refuse the file.
Trait Implementations§
Source§impl Exporter for VtkExporter
impl Exporter for VtkExporter
Source§fn handles(&self, object: &SceneObject) -> bool
fn handles(&self, object: &SceneObject) -> bool
Whether it can write this object at all. Read more
Source§fn write(
&self,
object: &SceneObject,
out: &mut dyn Write,
options: &Options<'_>,
) -> Result<()>
fn write( &self, object: &SceneObject, out: &mut dyn Write, options: &Options<'_>, ) -> Result<()>
Write one object.
Source§fn write_all(
&self,
objects: &[SceneObject],
out: &mut dyn Write,
options: &Options<'_>,
) -> Result<()>
fn write_all( &self, objects: &[SceneObject], out: &mut dyn Write, options: &Options<'_>, ) -> Result<()>
Write several into one file. Read more
Source§fn handles_with(&self, object: &SceneObject, options: &Options<'_>) -> bool
fn handles_with(&self, object: &SceneObject, options: &Options<'_>) -> bool
Exporter::handles, for the exporters whose answer depends on the
options - GeoJSON accepts an object with no EPSG code once
Options::native_crs is set.Auto Trait Implementations§
impl Freeze for VtkExporter
impl RefUnwindSafe for VtkExporter
impl Send for VtkExporter
impl Sync for VtkExporter
impl Unpin for VtkExporter
impl UnsafeUnpin for VtkExporter
impl UnwindSafe for VtkExporter
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