#[repr(C)]pub struct CFDictionary { /* private fields */ }
Available on crate feature
CFDictionary
only.Expand description
This is the type of a reference to immutable CFDictionarys.
See also Apple’s documentation
Methods from Deref<Target = CFType>§
Sourcepub fn downcast_ref<T: ConcreteType>(&self) -> Option<&T>
Available on crate feature CFBase
only.
pub fn downcast_ref<T: ConcreteType>(&self) -> Option<&T>
CFBase
only.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 CFDictionary
impl AsRef<AnyObject> for CFDictionary
Source§impl AsRef<CFDictionary> for CFDictionary
impl AsRef<CFDictionary> for CFDictionary
Source§impl AsRef<CFDictionary> for CFMutableDictionary
impl AsRef<CFDictionary> for CFMutableDictionary
Source§fn as_ref(&self) -> &CFDictionary
fn as_ref(&self) -> &CFDictionary
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CFType> for CFDictionary
impl AsRef<CFType> for CFDictionary
Source§impl Borrow<AnyObject> for CFDictionary
impl Borrow<AnyObject> for CFDictionary
Source§impl Borrow<CFDictionary> for CFMutableDictionary
impl Borrow<CFDictionary> for CFMutableDictionary
Source§fn borrow(&self) -> &CFDictionary
fn borrow(&self) -> &CFDictionary
Immutably borrows from an owned value. Read more
Source§impl Borrow<CFType> for CFDictionary
impl Borrow<CFType> for CFDictionary
Source§impl ConcreteType for CFDictionary
Available on crate feature CFBase
only.
impl ConcreteType for CFDictionary
Available on crate feature
CFBase
only.Source§impl Debug for CFDictionary
impl Debug for CFDictionary
Source§impl Deref for CFDictionary
impl Deref for CFDictionary
Source§impl Hash for CFDictionary
impl Hash for CFDictionary
Source§impl Message for CFDictionary
impl Message for CFDictionary
Source§impl PartialEq for CFDictionary
impl PartialEq for CFDictionary
Source§impl RefEncode for CFDictionary
impl RefEncode for CFDictionary
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 CFDictionary
impl Type for CFDictionary
impl Eq for CFDictionary
Auto Trait Implementations§
impl !Freeze for CFDictionary
impl !RefUnwindSafe for CFDictionary
impl !Send for CFDictionary
impl !Sync for CFDictionary
impl !Unpin for CFDictionary
impl !UnwindSafe for CFDictionary
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