pub struct CFWriteStream(/* private fields */);Implementations§
Source§impl CFWriteStream
impl CFWriteStream
pub fn from_raw(ptr: *mut c_void) -> Option<Self>
Sourcepub unsafe fn from_raw_retained(ptr: *mut c_void) -> Option<Self>
pub unsafe fn from_raw_retained(ptr: *mut c_void) -> Option<Self>
Retain a borrowed pointer before wrapping it.
§Safety
ptr must be NULL or a valid pointer of the expected Core Foundation type.
pub const fn as_ptr(&self) -> *mut c_void
pub fn type_id() -> usize
pub fn into_cf_type(self) -> CFType
Trait Implementations§
Source§impl AsCFType for CFWriteStream
impl AsCFType for CFWriteStream
Source§impl Clone for CFWriteStream
impl Clone for CFWriteStream
Source§fn clone(&self) -> CFWriteStream
fn clone(&self) -> CFWriteStream
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CFWriteStream
impl Debug for CFWriteStream
Source§impl Hash for CFWriteStream
impl Hash for CFWriteStream
Source§impl PartialEq for CFWriteStream
impl PartialEq for CFWriteStream
Source§fn eq(&self, other: &CFWriteStream) -> bool
fn eq(&self, other: &CFWriteStream) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CFWriteStream
impl StructuralPartialEq for CFWriteStream
Auto Trait Implementations§
impl Freeze for CFWriteStream
impl RefUnwindSafe for CFWriteStream
impl !Send for CFWriteStream
impl !Sync for CFWriteStream
impl Unpin for CFWriteStream
impl UnsafeUnpin for CFWriteStream
impl UnwindSafe for CFWriteStream
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