Struct objc2_ui_kit::UIModalPresentationStyle
source · #[repr(transparent)]pub struct UIModalPresentationStyle(pub NSInteger);Available on crate feature
UIViewController only.Tuple Fields§
§0: NSIntegerImplementations§
source§impl UIModalPresentationStyle
impl UIModalPresentationStyle
pub const UIModalPresentationFullScreen: Self = _
pub const UIModalPresentationPageSheet: Self = _
pub const UIModalPresentationFormSheet: Self = _
pub const UIModalPresentationCurrentContext: Self = _
pub const UIModalPresentationCustom: Self = _
pub const UIModalPresentationOverFullScreen: Self = _
pub const UIModalPresentationOverCurrentContext: Self = _
pub const UIModalPresentationPopover: Self = _
pub const UIModalPresentationBlurOverFullScreen: Self = _
pub const UIModalPresentationNone: Self = _
pub const UIModalPresentationAutomatic: Self = _
Trait Implementations§
source§impl Clone for UIModalPresentationStyle
impl Clone for UIModalPresentationStyle
source§fn clone(&self) -> UIModalPresentationStyle
fn clone(&self) -> UIModalPresentationStyle
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 UIModalPresentationStyle
impl Debug for UIModalPresentationStyle
source§impl Encode for UIModalPresentationStyle
impl Encode for UIModalPresentationStyle
source§impl Hash for UIModalPresentationStyle
impl Hash for UIModalPresentationStyle
source§impl Ord for UIModalPresentationStyle
impl Ord for UIModalPresentationStyle
source§fn cmp(&self, other: &UIModalPresentationStyle) -> Ordering
fn cmp(&self, other: &UIModalPresentationStyle) -> 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 UIModalPresentationStyle
impl PartialEq for UIModalPresentationStyle
source§fn eq(&self, other: &UIModalPresentationStyle) -> bool
fn eq(&self, other: &UIModalPresentationStyle) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for UIModalPresentationStyle
impl PartialOrd for UIModalPresentationStyle
source§fn partial_cmp(&self, other: &UIModalPresentationStyle) -> Option<Ordering>
fn partial_cmp(&self, other: &UIModalPresentationStyle) -> 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 moresource§impl RefEncode for UIModalPresentationStyle
impl RefEncode for UIModalPresentationStyle
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 UIModalPresentationStyle
impl Eq for UIModalPresentationStyle
impl StructuralPartialEq for UIModalPresentationStyle
Auto Trait Implementations§
impl Freeze for UIModalPresentationStyle
impl RefUnwindSafe for UIModalPresentationStyle
impl Send for UIModalPresentationStyle
impl Sync for UIModalPresentationStyle
impl Unpin for UIModalPresentationStyle
impl UnwindSafe for UIModalPresentationStyle
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> 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.