#[repr(transparent)]pub struct NSURLCacheStoragePolicy(pub NSUInteger);
Available on crate feature
NSURLCache
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSURLCacheStoragePolicy
impl NSURLCacheStoragePolicy
pub const NSURLCacheStorageAllowed: Self = _
pub const NSURLCacheStorageAllowedInMemoryOnly: Self = _
pub const NSURLCacheStorageNotAllowed: Self = _
Trait Implementations§
source§impl Clone for NSURLCacheStoragePolicy
impl Clone for NSURLCacheStoragePolicy
source§fn clone(&self) -> NSURLCacheStoragePolicy
fn clone(&self) -> NSURLCacheStoragePolicy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NSURLCacheStoragePolicy
impl Debug for NSURLCacheStoragePolicy
source§impl Encode for NSURLCacheStoragePolicy
impl Encode for NSURLCacheStoragePolicy
source§impl Hash for NSURLCacheStoragePolicy
impl Hash for NSURLCacheStoragePolicy
source§impl Ord for NSURLCacheStoragePolicy
impl Ord for NSURLCacheStoragePolicy
source§fn cmp(&self, other: &NSURLCacheStoragePolicy) -> Ordering
fn cmp(&self, other: &NSURLCacheStoragePolicy) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NSURLCacheStoragePolicy
impl PartialEq for NSURLCacheStoragePolicy
source§fn eq(&self, other: &NSURLCacheStoragePolicy) -> bool
fn eq(&self, other: &NSURLCacheStoragePolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSURLCacheStoragePolicy
impl PartialOrd for NSURLCacheStoragePolicy
source§fn partial_cmp(&self, other: &NSURLCacheStoragePolicy) -> Option<Ordering>
fn partial_cmp(&self, other: &NSURLCacheStoragePolicy) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSURLCacheStoragePolicy
impl RefEncode for NSURLCacheStoragePolicy
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSURLCacheStoragePolicy
impl Eq for NSURLCacheStoragePolicy
impl StructuralPartialEq for NSURLCacheStoragePolicy
Auto Trait Implementations§
impl Freeze for NSURLCacheStoragePolicy
impl RefUnwindSafe for NSURLCacheStoragePolicy
impl Send for NSURLCacheStoragePolicy
impl Sync for NSURLCacheStoragePolicy
impl Unpin for NSURLCacheStoragePolicy
impl UnwindSafe for NSURLCacheStoragePolicy
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.