Struct objc2_class_kit::CLSContextType
source · #[repr(transparent)]pub struct CLSContextType(pub NSInteger);Available on crate feature
CLSContext only.Tuple Fields§
§0: NSIntegerImplementations§
source§impl CLSContextType
impl CLSContextType
pub const None: Self = _
pub const App: Self = _
pub const Chapter: Self = _
pub const Section: Self = _
pub const Level: Self = _
pub const Page: Self = _
pub const Task: Self = _
pub const Challenge: Self = _
pub const Quiz: Self = _
pub const Exercise: Self = _
pub const Lesson: Self = _
pub const Book: Self = _
pub const Game: Self = _
pub const Document: Self = _
pub const Audio: Self = _
pub const Video: Self = _
pub const Course: Self = _
pub const Custom: Self = _
Trait Implementations§
source§impl Clone for CLSContextType
impl Clone for CLSContextType
source§fn clone(&self) -> CLSContextType
fn clone(&self) -> CLSContextType
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 CLSContextType
impl Debug for CLSContextType
source§impl Encode for CLSContextType
impl Encode for CLSContextType
source§impl Hash for CLSContextType
impl Hash for CLSContextType
source§impl Ord for CLSContextType
impl Ord for CLSContextType
source§fn cmp(&self, other: &CLSContextType) -> Ordering
fn cmp(&self, other: &CLSContextType) -> 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 CLSContextType
impl PartialEq for CLSContextType
source§fn eq(&self, other: &CLSContextType) -> bool
fn eq(&self, other: &CLSContextType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for CLSContextType
impl PartialOrd for CLSContextType
source§fn partial_cmp(&self, other: &CLSContextType) -> Option<Ordering>
fn partial_cmp(&self, other: &CLSContextType) -> 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 CLSContextType
impl RefEncode for CLSContextType
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 CLSContextType
impl Eq for CLSContextType
impl StructuralPartialEq for CLSContextType
Auto Trait Implementations§
impl Freeze for CLSContextType
impl RefUnwindSafe for CLSContextType
impl Send for CLSContextType
impl Sync for CLSContextType
impl Unpin for CLSContextType
impl UnwindSafe for CLSContextType
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.