pub struct StretchAspect(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl StretchAspect
impl StretchAspect
pub const IGNORE: StretchAspect
pub const KEEP: StretchAspect
pub const KEEP_WIDTH: StretchAspect
pub const KEEP_HEIGHT: StretchAspect
pub const EXPAND: StretchAspect
Trait Implementations§
Source§impl Clone for StretchAspect
impl Clone for StretchAspect
Source§fn clone(&self) -> StretchAspect
fn clone(&self) -> StretchAspect
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 StretchAspect
impl Debug for StretchAspect
Source§impl From<StretchAspect> for i64
impl From<StretchAspect> for i64
Source§fn from(v: StretchAspect) -> Self
fn from(v: StretchAspect) -> Self
Converts to this type from the input type.
Source§impl From<i64> for StretchAspect
impl From<i64> for StretchAspect
Source§impl FromVariant for StretchAspect
impl FromVariant for StretchAspect
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for StretchAspect
impl Hash for StretchAspect
Source§impl Ord for StretchAspect
impl Ord for StretchAspect
Source§fn cmp(&self, other: &StretchAspect) -> Ordering
fn cmp(&self, other: &StretchAspect) -> 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 StretchAspect
impl PartialEq for StretchAspect
Source§impl PartialOrd for StretchAspect
impl PartialOrd for StretchAspect
impl Copy for StretchAspect
impl Eq for StretchAspect
impl StructuralPartialEq for StretchAspect
Auto Trait Implementations§
impl Freeze for StretchAspect
impl RefUnwindSafe for StretchAspect
impl Send for StretchAspect
impl Sync for StretchAspect
impl Unpin for StretchAspect
impl UnwindSafe for StretchAspect
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.