pub struct CFAllocator(/* private fields */);Expand description
CFAllocator is an opaque type that allocates and deallocates memory for you.
Trait Implementations§
Source§impl CFTypeObject for CFAllocator
impl CFTypeObject for CFAllocator
type Ref = *const __CFAllocator
Source§fn get_internal_object(&self) -> Self::Ref
fn get_internal_object(&self) -> Self::Ref
Retrieves the internal object
fn create_with_ref(obj: Self::Ref) -> Self
Source§impl Debug for CFAllocator
impl Debug 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