pub struct AxisStretchMode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl AxisStretchMode
impl AxisStretchMode
pub const STRETCH: AxisStretchMode
pub const TILE: AxisStretchMode
pub const TILE_FIT: AxisStretchMode
Trait Implementations§
Source§impl Clone for AxisStretchMode
impl Clone for AxisStretchMode
Source§fn clone(&self) -> AxisStretchMode
fn clone(&self) -> AxisStretchMode
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 AxisStretchMode
impl Debug for AxisStretchMode
Source§impl From<AxisStretchMode> for i64
impl From<AxisStretchMode> for i64
Source§fn from(v: AxisStretchMode) -> Self
fn from(v: AxisStretchMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for AxisStretchMode
impl From<i64> for AxisStretchMode
Source§impl FromVariant for AxisStretchMode
impl FromVariant for AxisStretchMode
fn from_variant(v: &Variant) -> Result<Self, 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 for AxisStretchMode
impl PartialEq for AxisStretchMode
Source§impl PartialOrd for AxisStretchMode
impl PartialOrd for AxisStretchMode
impl Copy for AxisStretchMode
impl Eq for AxisStretchMode
impl StructuralPartialEq for AxisStretchMode
Auto Trait Implementations§
impl Freeze for AxisStretchMode
impl RefUnwindSafe for AxisStretchMode
impl Send for AxisStretchMode
impl Sync for AxisStretchMode
impl Unpin for AxisStretchMode
impl UnwindSafe for AxisStretchMode
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.