pub unsafe trait NSDiscardableContent {
// Provided methods
unsafe fn beginContentAccess(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn endContentAccess(&self)
where Self: Sized + Message { ... }
unsafe fn discardContentIfPossible(&self)
where Self: Sized + Message { ... }
unsafe fn isContentDiscarded(&self) -> bool
where Self: Sized + Message { ... }
}
Available on crate feature
NSObject
only.Provided Methods§
unsafe fn beginContentAccess(&self) -> bool
unsafe fn endContentAccess(&self)
unsafe fn discardContentIfPossible(&self)
unsafe fn isContentDiscarded(&self) -> bool
Trait Implementations§
source§impl ProtocolType for dyn NSDiscardableContent
impl ProtocolType for dyn NSDiscardableContent
impl<T> ImplementedBy<T> for dyn NSDiscardableContent
Implementations on Foreign Types§
impl<T> NSDiscardableContent for ProtocolObject<T>where
T: ?Sized + NSDiscardableContent,
Implementors§
impl NSDiscardableContent for NSPurgeableData
Available on crate feature
NSData
only.