#[repr(transparent)]pub struct CLLocationButtonLabel(pub NSInteger);Available on crate feature
CLLocationButton only.Expand description
Constants that specify the text of the button label.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl CLLocationButtonLabel
impl CLLocationButtonLabel
Sourcepub const None: Self
pub const None: Self
A style that doesn’t display a text label.
Use a different label style if CLLocationButton/icon is CLLocationButtonIcon/none.
Sourcepub const CurrentLocation: Self
pub const CurrentLocation: Self
A button label with the text Current Location.
Sourcepub const SendCurrentLocation: Self
pub const SendCurrentLocation: Self
A button label with the text Send Current Location.
Sourcepub const SendMyCurrentLocation: Self
pub const SendMyCurrentLocation: Self
A button label with the text Send My Current Location.
A button label with the text Share Current Location.
A button label with the text Share My Current Location.
Trait Implementations§
Source§impl Clone for CLLocationButtonLabel
impl Clone for CLLocationButtonLabel
Source§fn clone(&self) -> CLLocationButtonLabel
fn clone(&self) -> CLLocationButtonLabel
Returns a duplicate 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 CLLocationButtonLabel
impl Debug for CLLocationButtonLabel
Source§impl Encode for CLLocationButtonLabel
impl Encode for CLLocationButtonLabel
Source§impl Hash for CLLocationButtonLabel
impl Hash for CLLocationButtonLabel
Source§impl Ord for CLLocationButtonLabel
impl Ord for CLLocationButtonLabel
Source§fn cmp(&self, other: &CLLocationButtonLabel) -> Ordering
fn cmp(&self, other: &CLLocationButtonLabel) -> 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 CLLocationButtonLabel
impl PartialEq for CLLocationButtonLabel
Source§impl PartialOrd for CLLocationButtonLabel
impl PartialOrd for CLLocationButtonLabel
Source§impl RefEncode for CLLocationButtonLabel
impl RefEncode for CLLocationButtonLabel
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 CLLocationButtonLabel
impl Eq for CLLocationButtonLabel
impl StructuralPartialEq for CLLocationButtonLabel
Auto Trait Implementations§
impl Freeze for CLLocationButtonLabel
impl RefUnwindSafe for CLLocationButtonLabel
impl Send for CLLocationButtonLabel
impl Sync for CLLocationButtonLabel
impl Unpin for CLLocationButtonLabel
impl UnwindSafe for CLLocationButtonLabel
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.