pub(crate) struct WidthMetrics {
pub edge_distance_threshold: i32,
pub standard_width: i32,
pub is_extra_light: bool,
}
Fields§
§edge_distance_threshold: i32
Used for creating edges.
standard_width: i32
Default stem thickness.
is_extra_light: bool
Is standard width very light?
Trait Implementations§
Source§impl Clone for WidthMetrics
impl Clone for WidthMetrics
Source§fn clone(&self) -> WidthMetrics
fn clone(&self) -> WidthMetrics
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 WidthMetrics
impl Debug for WidthMetrics
Source§impl Default for WidthMetrics
impl Default for WidthMetrics
Source§fn default() -> WidthMetrics
fn default() -> WidthMetrics
Returns the “default value” for a type. Read more
Source§impl PartialEq for WidthMetrics
impl PartialEq for WidthMetrics
impl Copy for WidthMetrics
impl Eq for WidthMetrics
impl StructuralPartialEq for WidthMetrics
Auto Trait Implementations§
impl Freeze for WidthMetrics
impl RefUnwindSafe for WidthMetrics
impl Send for WidthMetrics
impl Sync for WidthMetrics
impl Unpin for WidthMetrics
impl UnwindSafe for WidthMetrics
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