#[repr(transparent)]pub struct NSButtonType(pub NSUInteger);
Available on crate feature
NSButtonCell
only.Expand description
Tuple Fields§
§0: NSUInteger
Implementations§
Source§impl NSButtonType
impl NSButtonType
pub const MomentaryLight: Self
pub const PushOnPushOff: Self
pub const Toggle: Self
pub const Switch: Self
pub const Radio: Self
pub const MomentaryChange: Self
pub const OnOff: Self
pub const MomentaryPushIn: Self
pub const Accelerator: Self
pub const MultiLevelAccelerator: Self
Trait Implementations§
Source§impl Clone for NSButtonType
impl Clone for NSButtonType
Source§fn clone(&self) -> NSButtonType
fn clone(&self) -> NSButtonType
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 NSButtonType
impl Debug for NSButtonType
Source§impl Encode for NSButtonType
impl Encode for NSButtonType
Source§impl Hash for NSButtonType
impl Hash for NSButtonType
Source§impl Ord for NSButtonType
impl Ord for NSButtonType
Source§fn cmp(&self, other: &NSButtonType) -> Ordering
fn cmp(&self, other: &NSButtonType) -> 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 NSButtonType
impl PartialEq for NSButtonType
Source§impl PartialOrd for NSButtonType
impl PartialOrd for NSButtonType
Source§impl RefEncode for NSButtonType
impl RefEncode for NSButtonType
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 NSButtonType
impl Eq for NSButtonType
impl StructuralPartialEq for NSButtonType
Auto Trait Implementations§
impl Freeze for NSButtonType
impl RefUnwindSafe for NSButtonType
impl Send for NSButtonType
impl Sync for NSButtonType
impl Unpin for NSButtonType
impl UnwindSafe for NSButtonType
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.