#[repr(C)]pub struct SCPreferencesContext {
pub version: CFIndex,
pub info: *mut c_void,
pub retain: Option<unsafe extern "C" fn(info: *const c_void) -> *const c_void>,
pub release: Option<unsafe extern "C" fn(info: *const c_void)>,
pub copyDescription: Option<unsafe extern "C" fn(info: *const c_void) -> CFStringRef>,
}Fields§
§version: CFIndex§info: *mut c_void§retain: Option<unsafe extern "C" fn(info: *const c_void) -> *const c_void>§release: Option<unsafe extern "C" fn(info: *const c_void)>§copyDescription: Option<unsafe extern "C" fn(info: *const c_void) -> CFStringRef>Auto Trait Implementations§
impl Freeze for SCPreferencesContext
impl RefUnwindSafe for SCPreferencesContext
impl !Send for SCPreferencesContext
impl !Sync for SCPreferencesContext
impl Unpin for SCPreferencesContext
impl UnwindSafe for SCPreferencesContext
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