#[repr(transparent)]pub struct CLLocationButtonIcon(pub NSInteger);Available on crate feature
CLLocationButton only.Expand description
Constants that specify styles for the location arrow icon on the button.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl CLLocationButtonIcon
impl CLLocationButtonIcon
Sourcepub const None: Self
pub const None: Self
A style that doesn’t display an icon.
Use a different icon style if CLLocationButton/label is CLLocationButtonLabel/none.
Sourcepub const ArrowFilled: Self
pub const ArrowFilled: Self
A style that displays a filled arrow icon.
Sourcepub const ArrowOutline: Self
pub const ArrowOutline: Self
A style that displays an unfilled, outline arrow icon.
Trait Implementations§
Source§impl Clone for CLLocationButtonIcon
impl Clone for CLLocationButtonIcon
Source§fn clone(&self) -> CLLocationButtonIcon
fn clone(&self) -> CLLocationButtonIcon
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 CLLocationButtonIcon
impl Debug for CLLocationButtonIcon
Source§impl Encode for CLLocationButtonIcon
impl Encode for CLLocationButtonIcon
Source§impl Hash for CLLocationButtonIcon
impl Hash for CLLocationButtonIcon
Source§impl Ord for CLLocationButtonIcon
impl Ord for CLLocationButtonIcon
Source§fn cmp(&self, other: &CLLocationButtonIcon) -> Ordering
fn cmp(&self, other: &CLLocationButtonIcon) -> 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 CLLocationButtonIcon
impl PartialEq for CLLocationButtonIcon
Source§impl PartialOrd for CLLocationButtonIcon
impl PartialOrd for CLLocationButtonIcon
Source§impl RefEncode for CLLocationButtonIcon
impl RefEncode for CLLocationButtonIcon
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 CLLocationButtonIcon
impl Eq for CLLocationButtonIcon
impl StructuralPartialEq for CLLocationButtonIcon
Auto Trait Implementations§
impl Freeze for CLLocationButtonIcon
impl RefUnwindSafe for CLLocationButtonIcon
impl Send for CLLocationButtonIcon
impl Sync for CLLocationButtonIcon
impl Unpin for CLLocationButtonIcon
impl UnwindSafe for CLLocationButtonIcon
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.