Struct three_d::io::Saver [−][src]
pub struct Saver {}
Expand description
Functionality for saving resources. Only available on desktop at the moment.
Implementations
pub fn save_3d_file<P: AsRef<Path>>(
path: P,
cpu_meshes: Vec<CPUMesh>,
cpu_materials: Vec<CPUMaterial>
) -> ThreeDResult<()>
This is supported on crate feature 3d-io
and non-WebAssembly only.
pub fn save_3d_file<P: AsRef<Path>>(
path: P,
cpu_meshes: Vec<CPUMesh>,
cpu_materials: Vec<CPUMaterial>
) -> ThreeDResult<()>
This is supported on crate feature
3d-io
and non-WebAssembly only.Saves the given meshes and materials as a .3d file.
Auto Trait Implementations
impl RefUnwindSafe for Saver
impl UnwindSafe for Saver
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more