#[repr(transparent)]pub struct CLAuthorizationStatus(pub c_int);
Available on crate feature
CLLocationManager
only.Tuple Fields§
§0: c_int
Implementations§
source§impl CLAuthorizationStatus
impl CLAuthorizationStatus
pub const kCLAuthorizationStatusNotDetermined: Self = _
pub const kCLAuthorizationStatusRestricted: Self = _
pub const kCLAuthorizationStatusDenied: Self = _
pub const kCLAuthorizationStatusAuthorizedAlways: Self = _
pub const kCLAuthorizationStatusAuthorizedWhenInUse: Self = _
pub const kCLAuthorizationStatusAuthorized: Self = _
👎Deprecated: Use kCLAuthorizationStatusAuthorizedAlways
Trait Implementations§
source§impl Clone for CLAuthorizationStatus
impl Clone for CLAuthorizationStatus
source§fn clone(&self) -> CLAuthorizationStatus
fn clone(&self) -> CLAuthorizationStatus
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 CLAuthorizationStatus
impl Debug for CLAuthorizationStatus
source§impl Encode for CLAuthorizationStatus
impl Encode for CLAuthorizationStatus
source§impl Hash for CLAuthorizationStatus
impl Hash for CLAuthorizationStatus
source§impl Ord for CLAuthorizationStatus
impl Ord for CLAuthorizationStatus
source§fn cmp(&self, other: &CLAuthorizationStatus) -> Ordering
fn cmp(&self, other: &CLAuthorizationStatus) -> 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 CLAuthorizationStatus
impl PartialEq for CLAuthorizationStatus
source§fn eq(&self, other: &CLAuthorizationStatus) -> bool
fn eq(&self, other: &CLAuthorizationStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CLAuthorizationStatus
impl PartialOrd for CLAuthorizationStatus
source§fn partial_cmp(&self, other: &CLAuthorizationStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &CLAuthorizationStatus) -> 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 CLAuthorizationStatus
impl RefEncode for CLAuthorizationStatus
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 CLAuthorizationStatus
impl Eq for CLAuthorizationStatus
impl StructuralPartialEq for CLAuthorizationStatus
Auto Trait Implementations§
impl Freeze for CLAuthorizationStatus
impl RefUnwindSafe for CLAuthorizationStatus
impl Send for CLAuthorizationStatus
impl Sync for CLAuthorizationStatus
impl Unpin for CLAuthorizationStatus
impl UnwindSafe for CLAuthorizationStatus
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.