Skip to main content

ExportObject

Trait ExportObject 

Source
pub trait ExportObject {
    // Required methods
    fn export_as_scad(&self, output: impl AsRef<Path>) -> Result<()>;
    fn export_as_stl(&self, output: impl AsRef<Path>) -> Result<()>;
}

Required Methods§

Source

fn export_as_scad(&self, output: impl AsRef<Path>) -> Result<()>

Exports the object to a file in OpenSCAD format.

Source

fn export_as_stl(&self, output: impl AsRef<Path>) -> Result<()>

Exports the object to a file in STL format.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§