Struct objc2_ui_kit::UIButtonType
source · #[repr(transparent)]pub struct UIButtonType(pub NSInteger);
Available on crate feature
UIButton
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl UIButtonType
impl UIButtonType
pub const Custom: Self = _
pub const System: Self = _
pub const DetailDisclosure: Self = _
pub const InfoLight: Self = _
pub const InfoDark: Self = _
pub const ContactAdd: Self = _
pub const Plain: Self = _
pub const Close: Self = _
pub const RoundedRect: Self = _
Trait Implementations§
source§impl Clone for UIButtonType
impl Clone for UIButtonType
source§fn clone(&self) -> UIButtonType
fn clone(&self) -> UIButtonType
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 UIButtonType
impl Debug for UIButtonType
source§impl Encode for UIButtonType
impl Encode for UIButtonType
source§impl Hash for UIButtonType
impl Hash for UIButtonType
source§impl Ord for UIButtonType
impl Ord for UIButtonType
source§fn cmp(&self, other: &UIButtonType) -> Ordering
fn cmp(&self, other: &UIButtonType) -> 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 UIButtonType
impl PartialEq for UIButtonType
source§fn eq(&self, other: &UIButtonType) -> bool
fn eq(&self, other: &UIButtonType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UIButtonType
impl PartialOrd for UIButtonType
source§fn partial_cmp(&self, other: &UIButtonType) -> Option<Ordering>
fn partial_cmp(&self, other: &UIButtonType) -> 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 UIButtonType
impl RefEncode for UIButtonType
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 UIButtonType
impl Eq for UIButtonType
impl StructuralPartialEq for UIButtonType
Auto Trait Implementations§
impl Freeze for UIButtonType
impl RefUnwindSafe for UIButtonType
impl Send for UIButtonType
impl Sync for UIButtonType
impl Unpin for UIButtonType
impl UnwindSafe for UIButtonType
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.