pub struct SpacingType(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl SpacingType
impl SpacingType
pub const TOP: SpacingType
pub const BOTTOM: SpacingType
pub const CHAR: SpacingType
pub const SPACE: SpacingType
Trait Implementations§
Source§impl Clone for SpacingType
impl Clone for SpacingType
Source§fn clone(&self) -> SpacingType
fn clone(&self) -> SpacingType
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 SpacingType
impl Debug for SpacingType
Source§impl From<SpacingType> for i64
impl From<SpacingType> for i64
Source§fn from(v: SpacingType) -> Self
fn from(v: SpacingType) -> Self
Converts to this type from the input type.
Source§impl From<i64> for SpacingType
impl From<i64> for SpacingType
Source§impl FromVariant for SpacingType
impl FromVariant for SpacingType
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for SpacingType
impl Hash for SpacingType
Source§impl Ord for SpacingType
impl Ord for SpacingType
Source§fn cmp(&self, other: &SpacingType) -> Ordering
fn cmp(&self, other: &SpacingType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpacingType
impl PartialEq for SpacingType
Source§impl PartialOrd for SpacingType
impl PartialOrd for SpacingType
impl Copy for SpacingType
impl Eq for SpacingType
impl StructuralPartialEq for SpacingType
Auto Trait Implementations§
impl Freeze for SpacingType
impl RefUnwindSafe for SpacingType
impl Send for SpacingType
impl Sync for SpacingType
impl Unpin for SpacingType
impl UnwindSafe for SpacingType
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.