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