pub struct Thickness { /* private fields */ }Expand description
Thickness of a yarn
Implementations§
Source§impl Thickness
impl Thickness
Sourcepub fn display_width(&self) -> ValidDecimal
pub fn display_width(&self) -> ValidDecimal
The width of the thread in the displayed draft
Sourcepub fn threads_per_unit(&self) -> ValidDecimal
pub fn threads_per_unit(&self) -> ValidDecimal
The number of picks/threads per unit
Trait Implementations§
impl Eq for Thickness
impl StructuralPartialEq for Thickness
Auto Trait Implementations§
impl Freeze for Thickness
impl RefUnwindSafe for Thickness
impl Send for Thickness
impl Sync for Thickness
impl Unpin for Thickness
impl UnwindSafe for Thickness
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