pub struct StlOptions {
pub solids: Vec<String>,
pub ascii: bool,
pub quality: usize,
}Expand description
How an STL file is written.
Fields§
§solids: Vec<String>Only the solids of these names (/pin:extrude(pin)), if any are
named; a name no solid has fails, listing the names there are.
ascii: boolPlain text rather than binary.
quality: usizeHow finely curved faces are meshed: higher is smoother, and bigger
(see solid_meshes). Flat faces are meshed exactly whatever this
is.
Trait Implementations§
Source§impl Clone for StlOptions
impl Clone for StlOptions
Source§fn clone(&self) -> StlOptions
fn clone(&self) -> StlOptions
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 StlOptions
impl Debug for StlOptions
Source§impl Default for StlOptions
impl Default for StlOptions
Source§impl<'de> Deserialize<'de> for StlOptionswhere
StlOptions: Default,
impl<'de> Deserialize<'de> for StlOptionswhere
StlOptions: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StlOptions
impl PartialEq for StlOptions
impl StructuralPartialEq for StlOptions
Auto Trait Implementations§
impl Freeze for StlOptions
impl RefUnwindSafe for StlOptions
impl Send for StlOptions
impl Sync for StlOptions
impl Unpin for StlOptions
impl UnsafeUnpin for StlOptions
impl UnwindSafe for StlOptions
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