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