pub struct CFReadStream(/* private fields */);Implementations§
Source§impl CFReadStream
impl CFReadStream
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 CFReadStream
impl AsCFType for CFReadStream
Source§impl Clone for CFReadStream
impl Clone for CFReadStream
Source§fn clone(&self) -> CFReadStream
fn clone(&self) -> CFReadStream
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 CFReadStream
impl Debug for CFReadStream
Source§impl Hash for CFReadStream
impl Hash for CFReadStream
Source§impl PartialEq for CFReadStream
impl PartialEq for CFReadStream
Source§fn eq(&self, other: &CFReadStream) -> bool
fn eq(&self, other: &CFReadStream) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CFReadStream
impl StructuralPartialEq for CFReadStream
Auto Trait Implementations§
impl Freeze for CFReadStream
impl RefUnwindSafe for CFReadStream
impl !Send for CFReadStream
impl !Sync for CFReadStream
impl Unpin for CFReadStream
impl UnsafeUnpin for CFReadStream
impl UnwindSafe for CFReadStream
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