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