#[repr(transparent)]pub struct CLSContextType(pub NSInteger);
Available on crate feature
CLSContext
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
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 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 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§impl PartialOrd for CLSContextType
impl PartialOrd for CLSContextType
Source§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> 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.