#[repr(C)]pub struct CTFontCollection { /* private fields */ }Available on crate feature
CTFontCollection only.Expand description
Methods from Deref<Target = CFType>§
Sourcepub fn downcast_ref<T>(&self) -> Option<&T>where
T: ConcreteType,
pub fn downcast_ref<T>(&self) -> Option<&T>where
T: ConcreteType,
Attempt to downcast the type to that of type T.
This is the reference-variant. Use CFRetained::downcast if you
want to convert a retained type. See also ConcreteType for more
details on which types support being converted to.
Trait Implementations§
Source§impl AsRef<AnyObject> for CTFontCollection
impl AsRef<AnyObject> for CTFontCollection
Source§impl AsRef<CFType> for CTFontCollection
impl AsRef<CFType> for CTFontCollection
Source§impl AsRef<CTFontCollection> for CTFontCollection
impl AsRef<CTFontCollection> for CTFontCollection
Source§impl AsRef<CTFontCollection> for CTMutableFontCollection
impl AsRef<CTFontCollection> for CTMutableFontCollection
Source§fn as_ref(&self) -> &CTFontCollection
fn as_ref(&self) -> &CTFontCollection
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<AnyObject> for CTFontCollection
impl Borrow<AnyObject> for CTFontCollection
Source§impl Borrow<CFType> for CTFontCollection
impl Borrow<CFType> for CTFontCollection
Source§impl Borrow<CTFontCollection> for CTMutableFontCollection
impl Borrow<CTFontCollection> for CTMutableFontCollection
Source§fn borrow(&self) -> &CTFontCollection
fn borrow(&self) -> &CTFontCollection
Immutably borrows from an owned value. Read more
Source§impl ConcreteType for CTFontCollection
impl ConcreteType for CTFontCollection
Source§impl Debug for CTFontCollection
impl Debug for CTFontCollection
Source§impl Deref for CTFontCollection
impl Deref for CTFontCollection
Source§impl Hash for CTFontCollection
impl Hash for CTFontCollection
Source§impl Message for CTFontCollection
impl Message for CTFontCollection
Source§impl PartialEq for CTFontCollection
impl PartialEq for CTFontCollection
Source§impl RefEncode for CTFontCollection
impl RefEncode for CTFontCollection
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
Source§impl Type for CTFontCollection
impl Type for CTFontCollection
impl Eq for CTFontCollection
Auto Trait Implementations§
impl !Freeze for CTFontCollection
impl !RefUnwindSafe for CTFontCollection
impl !Send for CTFontCollection
impl !Sync for CTFontCollection
impl !Unpin for CTFontCollection
impl !UnwindSafe for CTFontCollection
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