pub struct StlWriteOptions {
pub binary: bool,
pub solid_name: String,
pub binary_header: String,
}Expand description
Options for writing STL files.
Fields§
§binary: boolIf true, write a binary STL file; otherwise write ASCII.
solid_name: StringSolid name used in ASCII output (ignored for binary).
binary_header: StringHeader text for binary output (truncated/padded to 80 bytes).
Trait Implementations§
Source§impl Clone for StlWriteOptions
impl Clone for StlWriteOptions
Source§fn clone(&self) -> StlWriteOptions
fn clone(&self) -> StlWriteOptions
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 StlWriteOptions
impl Debug for StlWriteOptions
Auto Trait Implementations§
impl Freeze for StlWriteOptions
impl RefUnwindSafe for StlWriteOptions
impl Send for StlWriteOptions
impl Sync for StlWriteOptions
impl Unpin for StlWriteOptions
impl UnsafeUnpin for StlWriteOptions
impl UnwindSafe for StlWriteOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.