#[repr(transparent)]pub struct CTCharacterCollection(pub u16);Available on crate feature
CTGlyphInfo only.Expand description
These constants specify character collections.
Indicates that the character identifier is equal to the CGGlyph glyph index.
Indicates the Adobe-CNS1 mapping.
Indicates the Adobe-GB1 mapping.
Indicates the Adobe-Japan1 mapping.
Indicates the Adobe-Japan2 mapping.
Indicates the Adobe-Korea1 mapping.
See also Apple’s documentation
Tuple Fields§
§0: u16Implementations§
Source§impl CTCharacterCollection
impl CTCharacterCollection
pub const IdentityMapping: Self
pub const AdobeCNS1: Self
pub const AdobeGB1: Self
pub const AdobeJapan1: Self
pub const AdobeJapan2: Self
pub const AdobeKorea1: Self
pub const kCTIdentityMappingCharacterCollection: Self
👎Deprecated: Deprecated
pub const kCTAdobeCNS1CharacterCollection: Self
👎Deprecated: Deprecated
pub const kCTAdobeGB1CharacterCollection: Self
👎Deprecated: Deprecated
pub const kCTAdobeJapan1CharacterCollection: Self
👎Deprecated: Deprecated
pub const kCTAdobeJapan2CharacterCollection: Self
👎Deprecated: Deprecated
pub const kCTAdobeKorea1CharacterCollection: Self
👎Deprecated: Deprecated
Trait Implementations§
Source§impl Clone for CTCharacterCollection
impl Clone for CTCharacterCollection
Source§fn clone(&self) -> CTCharacterCollection
fn clone(&self) -> CTCharacterCollection
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 CTCharacterCollection
impl Debug for CTCharacterCollection
Source§impl Encode for CTCharacterCollection
Available on crate feature objc2 only.
impl Encode for CTCharacterCollection
Available on crate feature
objc2 only.Source§impl Hash for CTCharacterCollection
impl Hash for CTCharacterCollection
Source§impl Ord for CTCharacterCollection
impl Ord for CTCharacterCollection
Source§fn cmp(&self, other: &CTCharacterCollection) -> Ordering
fn cmp(&self, other: &CTCharacterCollection) -> 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 CTCharacterCollection
impl PartialEq for CTCharacterCollection
Source§impl PartialOrd for CTCharacterCollection
impl PartialOrd for CTCharacterCollection
Source§impl RefEncode for CTCharacterCollection
Available on crate feature objc2 only.
impl RefEncode for CTCharacterCollection
Available on crate feature
objc2 only.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 CTCharacterCollection
impl Eq for CTCharacterCollection
impl StructuralPartialEq for CTCharacterCollection
Auto Trait Implementations§
impl Freeze for CTCharacterCollection
impl RefUnwindSafe for CTCharacterCollection
impl Send for CTCharacterCollection
impl Sync for CTCharacterCollection
impl Unpin for CTCharacterCollection
impl UnwindSafe for CTCharacterCollection
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.