#[repr(transparent)]pub struct UIViewContentMode(pub NSInteger);
Available on crate feature
UIView
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl UIViewContentMode
impl UIViewContentMode
pub const ScaleToFill: Self
pub const ScaleAspectFit: Self
pub const ScaleAspectFill: Self
pub const Redraw: Self
pub const Center: Self
pub const Top: Self
pub const Bottom: Self
pub const Left: Self
pub const Right: Self
pub const TopLeft: Self
pub const TopRight: Self
pub const BottomLeft: Self
pub const BottomRight: Self
Trait Implementations§
Source§impl Clone for UIViewContentMode
impl Clone for UIViewContentMode
Source§fn clone(&self) -> UIViewContentMode
fn clone(&self) -> UIViewContentMode
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 UIViewContentMode
impl Debug for UIViewContentMode
Source§impl Encode for UIViewContentMode
impl Encode for UIViewContentMode
Source§impl Hash for UIViewContentMode
impl Hash for UIViewContentMode
Source§impl Ord for UIViewContentMode
impl Ord for UIViewContentMode
Source§fn cmp(&self, other: &UIViewContentMode) -> Ordering
fn cmp(&self, other: &UIViewContentMode) -> 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 UIViewContentMode
impl PartialEq for UIViewContentMode
Source§impl PartialOrd for UIViewContentMode
impl PartialOrd for UIViewContentMode
Source§impl RefEncode for UIViewContentMode
impl RefEncode for UIViewContentMode
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for UIViewContentMode
impl Eq for UIViewContentMode
impl StructuralPartialEq for UIViewContentMode
Auto Trait Implementations§
impl Freeze for UIViewContentMode
impl RefUnwindSafe for UIViewContentMode
impl Send for UIViewContentMode
impl Sync for UIViewContentMode
impl Unpin for UIViewContentMode
impl UnwindSafe for UIViewContentMode
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<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.