pub enum NumericSpacing {
Proportional,
Tabular,
}Expand description
How much width each figure takes.
Variants§
Proportional
proportional-nums: each figure takes the width it draws.
Tabular
tabular-nums: every figure takes one width, so columns of
them line up.
Trait Implementations§
Source§impl Clone for NumericSpacing
impl Clone for NumericSpacing
Source§fn clone(&self) -> NumericSpacing
fn clone(&self) -> NumericSpacing
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 NumericSpacing
Source§impl Debug for NumericSpacing
impl Debug for NumericSpacing
impl Eq for NumericSpacing
Source§impl Hash for NumericSpacing
impl Hash for NumericSpacing
Source§impl PartialEq for NumericSpacing
impl PartialEq for NumericSpacing
Source§impl Serialize for NumericSpacing
impl Serialize for NumericSpacing
impl StructuralPartialEq for NumericSpacing
Auto Trait Implementations§
impl Freeze for NumericSpacing
impl RefUnwindSafe for NumericSpacing
impl Send for NumericSpacing
impl Sync for NumericSpacing
impl Unpin for NumericSpacing
impl UnsafeUnpin for NumericSpacing
impl UnwindSafe for NumericSpacing
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.