#[repr(transparent)]pub struct UIBehavioralStyle(pub NSUInteger);
Available on crate feature
UIBehavioralStyle
only.Expand description
Behavioral Styles are values that determine how a class — such as a view or control — behaves. This includes how the control is drawn, and what behaviors it supports. For example, handling certain customizations in one style, but not another.
See also Apple’s documentation
Tuple Fields§
§0: NSUInteger
Implementations§
Trait Implementations§
Source§impl Clone for UIBehavioralStyle
impl Clone for UIBehavioralStyle
Source§fn clone(&self) -> UIBehavioralStyle
fn clone(&self) -> UIBehavioralStyle
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 UIBehavioralStyle
impl Debug for UIBehavioralStyle
Source§impl Encode for UIBehavioralStyle
impl Encode for UIBehavioralStyle
Source§impl Hash for UIBehavioralStyle
impl Hash for UIBehavioralStyle
Source§impl Ord for UIBehavioralStyle
impl Ord for UIBehavioralStyle
Source§fn cmp(&self, other: &UIBehavioralStyle) -> Ordering
fn cmp(&self, other: &UIBehavioralStyle) -> 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 UIBehavioralStyle
impl PartialEq for UIBehavioralStyle
Source§impl PartialOrd for UIBehavioralStyle
impl PartialOrd for UIBehavioralStyle
Source§impl RefEncode for UIBehavioralStyle
impl RefEncode for UIBehavioralStyle
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 UIBehavioralStyle
impl Eq for UIBehavioralStyle
impl StructuralPartialEq for UIBehavioralStyle
Auto Trait Implementations§
impl Freeze for UIBehavioralStyle
impl RefUnwindSafe for UIBehavioralStyle
impl Send for UIBehavioralStyle
impl Sync for UIBehavioralStyle
impl Unpin for UIBehavioralStyle
impl UnwindSafe for UIBehavioralStyle
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.