pub struct ShellOptions {
pub thickness: f32,
}Expand description
Options for shell.
Fields§
§thickness: f32Wall thickness in local units: the copy sits this far against the smooth normals. Must be positive and finite.
Implementations§
Source§impl ShellOptions
impl ShellOptions
Sourcepub fn builder() -> ShellOptionsBuilder
pub fn builder() -> ShellOptionsBuilder
A builder for ShellOptions: a unit thickness until set.
Trait Implementations§
Source§impl Clone for ShellOptions
impl Clone for ShellOptions
Source§fn clone(&self) -> ShellOptions
fn clone(&self) -> ShellOptions
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 moreimpl Copy for ShellOptions
Source§impl Debug for ShellOptions
impl Debug for ShellOptions
Source§impl Default for ShellOptions
impl Default for ShellOptions
Source§impl PartialEq for ShellOptions
impl PartialEq for ShellOptions
impl StructuralPartialEq for ShellOptions
Auto Trait Implementations§
impl Freeze for ShellOptions
impl RefUnwindSafe for ShellOptions
impl Send for ShellOptions
impl Sync for ShellOptions
impl Unpin for ShellOptions
impl UnsafeUnpin for ShellOptions
impl UnwindSafe for ShellOptions
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