#[repr(C)]pub struct IOSurfaceRef { /* private fields */ }
Available on crate feature
IOSurfaceRef
only.Expand description
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 IOSurfaceRef
impl AsRef<AnyObject> for IOSurfaceRef
Source§impl AsRef<CFType> for IOSurfaceRef
impl AsRef<CFType> for IOSurfaceRef
Source§impl AsRef<IOSurfaceRef> for IOSurfaceRef
impl AsRef<IOSurfaceRef> for IOSurfaceRef
Source§impl Borrow<AnyObject> for IOSurfaceRef
impl Borrow<AnyObject> for IOSurfaceRef
Source§impl Borrow<CFType> for IOSurfaceRef
impl Borrow<CFType> for IOSurfaceRef
Source§impl ConcreteType for IOSurfaceRef
Available on crate feature objc2-core-foundation
only.
impl ConcreteType for IOSurfaceRef
Available on crate feature
objc2-core-foundation
only.Source§impl Debug for IOSurfaceRef
impl Debug for IOSurfaceRef
Source§impl Deref for IOSurfaceRef
impl Deref for IOSurfaceRef
Source§impl Hash for IOSurfaceRef
impl Hash for IOSurfaceRef
Source§impl Message for IOSurfaceRef
impl Message for IOSurfaceRef
Source§impl PartialEq for IOSurfaceRef
impl PartialEq for IOSurfaceRef
Source§impl RefEncode for IOSurfaceRef
impl RefEncode for IOSurfaceRef
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 IOSurfaceRef
impl Type for IOSurfaceRef
impl Eq for IOSurfaceRef
Auto Trait Implementations§
impl !Freeze for IOSurfaceRef
impl !RefUnwindSafe for IOSurfaceRef
impl !Send for IOSurfaceRef
impl !Sync for IOSurfaceRef
impl !Unpin for IOSurfaceRef
impl !UnwindSafe for IOSurfaceRef
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