pub struct ToothShapeParams {
pub width: f32,
pub height: f32,
pub rounding: f32,
pub overbite: f32,
pub crowding: f32,
pub whiteness: f32,
pub translucency: f32,
}Expand description
Tooth shape parameters.
Fields§
§width: f32Overall tooth width scale 0..=1.
height: f32Tooth height scale 0..=1.
rounding: f32Incisor rounding 0..=1 (0 = sharp, 1 = very round).
overbite: f32Overbite magnitude 0..=1.
crowding: f32Crowding 0..=1 (overlap/misalignment).
whiteness: f32Whiteness 0..=1.
translucency: f32Translucency of incisal edge 0..=1.
Trait Implementations§
Source§impl Clone for ToothShapeParams
impl Clone for ToothShapeParams
Source§fn clone(&self) -> ToothShapeParams
fn clone(&self) -> ToothShapeParams
Returns a duplicate of the value. Read more
1.0.0 · 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 ToothShapeParams
impl Debug for ToothShapeParams
Source§impl Default for ToothShapeParams
impl Default for ToothShapeParams
Source§impl PartialEq for ToothShapeParams
impl PartialEq for ToothShapeParams
impl StructuralPartialEq for ToothShapeParams
Auto Trait Implementations§
impl Freeze for ToothShapeParams
impl RefUnwindSafe for ToothShapeParams
impl Send for ToothShapeParams
impl Sync for ToothShapeParams
impl Unpin for ToothShapeParams
impl UnsafeUnpin for ToothShapeParams
impl UnwindSafe for ToothShapeParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more