#[repr(C)]pub struct CFAllocator { /* private fields */ }
Available on crate feature
CFBase
only.Expand description
Methods from Deref<Target = CFType>§
Sourcepub fn downcast_ref<T: ConcreteType>(&self) -> Option<&T>
pub fn downcast_ref<T: ConcreteType>(&self) -> Option<&T>
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 CFAllocator
impl AsRef<AnyObject> for CFAllocator
Source§impl AsRef<CFAllocator> for CFAllocator
impl AsRef<CFAllocator> for CFAllocator
Source§impl AsRef<CFType> for CFAllocator
impl AsRef<CFType> for CFAllocator
Source§impl Borrow<AnyObject> for CFAllocator
impl Borrow<AnyObject> for CFAllocator
Source§impl Borrow<CFType> for CFAllocator
impl Borrow<CFType> for CFAllocator
Source§impl ConcreteType for CFAllocator
impl ConcreteType for CFAllocator
Source§impl Debug for CFAllocator
impl Debug for CFAllocator
Source§impl Deref for CFAllocator
impl Deref for CFAllocator
Source§impl Hash for CFAllocator
impl Hash for CFAllocator
Source§impl Message for CFAllocator
impl Message for CFAllocator
Source§impl PartialEq for CFAllocator
impl PartialEq for CFAllocator
Source§impl RefEncode for CFAllocator
impl RefEncode for CFAllocator
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 CFAllocator
impl Type for CFAllocator
impl Eq for CFAllocator
Auto Trait Implementations§
impl !Freeze for CFAllocator
impl !RefUnwindSafe for CFAllocator
impl !Send for CFAllocator
impl !Sync for CFAllocator
impl !Unpin for CFAllocator
impl !UnwindSafe for CFAllocator
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