Struct objc2_map_kit::MKOverlayLevel
source · #[repr(transparent)]pub struct MKOverlayLevel(pub NSInteger);
Available on crate feature
MKMapView
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl MKOverlayLevel
impl MKOverlayLevel
pub const AboveRoads: Self = _
pub const AboveLabels: Self = _
Trait Implementations§
source§impl Clone for MKOverlayLevel
impl Clone for MKOverlayLevel
source§fn clone(&self) -> MKOverlayLevel
fn clone(&self) -> MKOverlayLevel
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 MKOverlayLevel
impl Debug for MKOverlayLevel
source§impl Encode for MKOverlayLevel
impl Encode for MKOverlayLevel
source§impl Hash for MKOverlayLevel
impl Hash for MKOverlayLevel
source§impl Ord for MKOverlayLevel
impl Ord for MKOverlayLevel
source§fn cmp(&self, other: &MKOverlayLevel) -> Ordering
fn cmp(&self, other: &MKOverlayLevel) -> 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 MKOverlayLevel
impl PartialEq for MKOverlayLevel
source§fn eq(&self, other: &MKOverlayLevel) -> bool
fn eq(&self, other: &MKOverlayLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MKOverlayLevel
impl PartialOrd for MKOverlayLevel
source§fn partial_cmp(&self, other: &MKOverlayLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &MKOverlayLevel) -> 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 MKOverlayLevel
impl RefEncode for MKOverlayLevel
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 MKOverlayLevel
impl Eq for MKOverlayLevel
impl StructuralPartialEq for MKOverlayLevel
Auto Trait Implementations§
impl Freeze for MKOverlayLevel
impl RefUnwindSafe for MKOverlayLevel
impl Send for MKOverlayLevel
impl Sync for MKOverlayLevel
impl Unpin for MKOverlayLevel
impl UnwindSafe for MKOverlayLevel
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.