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