Struct gdnative_bindings::dynamic_font::SpacingType
source · pub struct SpacingType(pub i64);
Tuple Fields§
§0: i64
Implementations§
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 copy 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<SpacingType> for SpacingType
impl PartialEq<SpacingType> for SpacingType
source§fn eq(&self, other: &SpacingType) -> bool
fn eq(&self, other: &SpacingType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SpacingType> for SpacingType
impl PartialOrd<SpacingType> for SpacingType
source§fn partial_cmp(&self, other: &SpacingType) -> Option<Ordering>
fn partial_cmp(&self, other: &SpacingType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SpacingType
impl Eq for SpacingType
impl StructuralEq for SpacingType
impl StructuralPartialEq for SpacingType
Auto Trait Implementations§
impl RefUnwindSafe for SpacingType
impl Send for SpacingType
impl Sync for SpacingType
impl Unpin for SpacingType
impl UnwindSafe for SpacingType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.