#[repr(C)]pub struct CFMutableData { /* private fields */ }
Available on crate feature
CFData
only.Expand description
Methods from Deref<Target = CFData>§
Sourcepub fn len(&self) -> usize
Available on crate feature CFBase
only.
pub fn len(&self) -> usize
CFBase
only.The number of bytes contained by the CFData
.
Sourcepub fn is_empty(&self) -> bool
Available on crate feature CFBase
only.
pub fn is_empty(&self) -> bool
CFBase
only.Whether the CFData
is empty.
Sourcepub unsafe fn as_bytes_unchecked(&self) -> &[u8] ⓘ
Available on crate feature CFBase
only.
pub unsafe fn as_bytes_unchecked(&self) -> &[u8] ⓘ
CFBase
only.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 CFMutableData
impl AsRef<AnyObject> for CFMutableData
Source§impl AsRef<CFData> for CFMutableData
impl AsRef<CFData> for CFMutableData
Source§impl AsRef<CFMutableData> for CFMutableData
impl AsRef<CFMutableData> for CFMutableData
Source§impl AsRef<CFType> for CFMutableData
impl AsRef<CFType> for CFMutableData
Source§impl Borrow<AnyObject> for CFMutableData
impl Borrow<AnyObject> for CFMutableData
Source§impl Borrow<CFData> for CFMutableData
impl Borrow<CFData> for CFMutableData
Source§impl Borrow<CFType> for CFMutableData
impl Borrow<CFType> for CFMutableData
Source§impl Debug for CFMutableData
impl Debug for CFMutableData
Source§impl Deref for CFMutableData
impl Deref for CFMutableData
Source§impl Hash for CFMutableData
impl Hash for CFMutableData
Source§impl Message for CFMutableData
impl Message for CFMutableData
Source§impl PartialEq for CFMutableData
impl PartialEq for CFMutableData
Source§impl RefEncode for CFMutableData
impl RefEncode for CFMutableData
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 CFMutableData
impl Type for CFMutableData
impl Eq for CFMutableData
Auto Trait Implementations§
impl !Freeze for CFMutableData
impl !RefUnwindSafe for CFMutableData
impl !Send for CFMutableData
impl !Sync for CFMutableData
impl !Unpin for CFMutableData
impl !UnwindSafe for CFMutableData
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