Struct gdnative::api::nine_patch_rect::AxisStretchMode
source · pub struct AxisStretchMode(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl AxisStretchMode
impl AxisStretchMode
pub const STRETCH: AxisStretchMode = AxisStretchMode(0i64)
pub const TILE: AxisStretchMode = AxisStretchMode(1i64)
pub const TILE_FIT: AxisStretchMode = AxisStretchMode(2i64)
Trait Implementations§
source§impl Clone for AxisStretchMode
impl Clone for AxisStretchMode
source§fn clone(&self) -> AxisStretchMode
fn clone(&self) -> AxisStretchMode
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 AxisStretchMode
impl Debug for AxisStretchMode
source§impl From<i64> for AxisStretchMode
impl From<i64> for AxisStretchMode
source§fn from(v: i64) -> AxisStretchMode
fn from(v: i64) -> AxisStretchMode
Converts to this type from the input type.
source§impl FromVariant for AxisStretchMode
impl FromVariant for AxisStretchMode
fn from_variant(v: &Variant) -> Result<AxisStretchMode, FromVariantError>
source§impl Hash for AxisStretchMode
impl Hash for AxisStretchMode
source§impl Ord for AxisStretchMode
impl Ord for AxisStretchMode
source§fn cmp(&self, other: &AxisStretchMode) -> Ordering
fn cmp(&self, other: &AxisStretchMode) -> 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<AxisStretchMode> for AxisStretchMode
impl PartialEq<AxisStretchMode> for AxisStretchMode
source§fn eq(&self, other: &AxisStretchMode) -> bool
fn eq(&self, other: &AxisStretchMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AxisStretchMode> for AxisStretchMode
impl PartialOrd<AxisStretchMode> for AxisStretchMode
source§fn partial_cmp(&self, other: &AxisStretchMode) -> Option<Ordering>
fn partial_cmp(&self, other: &AxisStretchMode) -> 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 AxisStretchMode
impl Eq for AxisStretchMode
impl StructuralEq for AxisStretchMode
impl StructuralPartialEq for AxisStretchMode
Auto Trait Implementations§
impl RefUnwindSafe for AxisStretchMode
impl Send for AxisStretchMode
impl Sync for AxisStretchMode
impl Unpin for AxisStretchMode
impl UnwindSafe for AxisStretchMode
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.