Struct objc2_ui_kit::UIActionSheetStyle
source · #[repr(transparent)]pub struct UIActionSheetStyle(pub NSInteger);
👎Deprecated: UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead.
Available on crate feature
UIActionSheet
only.Tuple Fields§
§0: NSInteger
👎Deprecated: UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead.
Implementations§
source§impl UIActionSheetStyle
impl UIActionSheetStyle
pub const Automatic: Self = _
👎Deprecated: UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead.
pub const Default: Self = _
👎Deprecated: UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead.
Available on crate feature
UIInterface
only.pub const BlackTranslucent: Self = _
👎Deprecated: UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead.
Available on crate feature
UIInterface
only.pub const BlackOpaque: Self = _
👎Deprecated: UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead.
Available on crate feature
UIInterface
only.Trait Implementations§
source§impl Clone for UIActionSheetStyle
impl Clone for UIActionSheetStyle
source§fn clone(&self) -> UIActionSheetStyle
fn clone(&self) -> UIActionSheetStyle
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 UIActionSheetStyle
impl Debug for UIActionSheetStyle
source§impl Encode for UIActionSheetStyle
impl Encode for UIActionSheetStyle
source§impl Hash for UIActionSheetStyle
impl Hash for UIActionSheetStyle
source§impl Ord for UIActionSheetStyle
impl Ord for UIActionSheetStyle
source§fn cmp(&self, other: &UIActionSheetStyle) -> Ordering
fn cmp(&self, other: &UIActionSheetStyle) -> 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 UIActionSheetStyle
impl PartialEq for UIActionSheetStyle
source§fn eq(&self, other: &UIActionSheetStyle) -> bool
fn eq(&self, other: &UIActionSheetStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UIActionSheetStyle
impl PartialOrd for UIActionSheetStyle
source§fn partial_cmp(&self, other: &UIActionSheetStyle) -> Option<Ordering>
fn partial_cmp(&self, other: &UIActionSheetStyle) -> 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 UIActionSheetStyle
impl RefEncode for UIActionSheetStyle
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 UIActionSheetStyle
impl Eq for UIActionSheetStyle
impl StructuralPartialEq for UIActionSheetStyle
Auto Trait Implementations§
impl Freeze for UIActionSheetStyle
impl RefUnwindSafe for UIActionSheetStyle
impl Send for UIActionSheetStyle
impl Sync for UIActionSheetStyle
impl Unpin for UIActionSheetStyle
impl UnwindSafe for UIActionSheetStyle
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.