pub unsafe trait NSDiscardableContent {
// Provided methods
fn beginContentAccess(&self) -> bool
where Self: Sized + Message { ... }
fn endContentAccess(&self)
where Self: Sized + Message { ... }
fn discardContentIfPossible(&self)
where Self: Sized + Message { ... }
fn isContentDiscarded(&self) -> bool
where Self: Sized + Message { ... }
}Available on crate feature
NSObject only.Expand description
********* Discardable Content **********
See also Apple’s documentation
Provided Methods§
fn beginContentAccess(&self) -> bool
fn endContentAccess(&self)
fn discardContentIfPossible(&self)
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.