#[repr(C)]pub struct SCPreferences { /* private fields */ }Available on crate feature
SCPreferences only.Expand description
This is the handle to an open preferences session for accessing system configuration preferences.
See also Apple’s documentation
Methods from Deref<Target = CFType>§
Sourcepub fn downcast_ref<T>(&self) -> Option<&T>where
T: ConcreteType,
pub fn downcast_ref<T>(&self) -> Option<&T>where
T: ConcreteType,
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 SCPreferences
impl AsRef<AnyObject> for SCPreferences
Source§impl AsRef<CFType> for SCPreferences
impl AsRef<CFType> for SCPreferences
Source§impl AsRef<SCPreferences> for SCPreferences
impl AsRef<SCPreferences> for SCPreferences
Source§impl Borrow<AnyObject> for SCPreferences
impl Borrow<AnyObject> for SCPreferences
Source§impl Borrow<CFType> for SCPreferences
impl Borrow<CFType> for SCPreferences
Source§impl ConcreteType for SCPreferences
impl ConcreteType for SCPreferences
Source§impl Debug for SCPreferences
impl Debug for SCPreferences
Source§impl Deref for SCPreferences
impl Deref for SCPreferences
Source§impl Hash for SCPreferences
impl Hash for SCPreferences
Source§impl Message for SCPreferences
impl Message for SCPreferences
Source§impl PartialEq for SCPreferences
impl PartialEq for SCPreferences
Source§impl RefEncode for SCPreferences
impl RefEncode for SCPreferences
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 SCPreferences
impl Type for SCPreferences
impl Eq for SCPreferences
Auto Trait Implementations§
impl !Freeze for SCPreferences
impl !RefUnwindSafe for SCPreferences
impl !Send for SCPreferences
impl !Sync for SCPreferences
impl !Unpin for SCPreferences
impl !UnwindSafe for SCPreferences
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