#[repr(transparent)]pub struct AVRoutePickerViewButtonState(pub NSInteger);Available on crate feature
AVRoutePickerView only.Expand description
Normal or default state of the picker.
Highlighted state of the picker. The picker has this state when a mouse-down event occurs inside the button. It loses this highlight when a mouse-up event occurs.
Active state of the picker. The picker has this state when AirPlay is active.
Highlighted state of the active picker. The picker has this state when it is highlighted and AirPlay is active.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVRoutePickerViewButtonState
impl AVRoutePickerViewButtonState
pub const Normal: Self
pub const NormalHighlighted: Self
pub const Active: Self
pub const ActiveHighlighted: Self
Trait Implementations§
Source§impl Clone for AVRoutePickerViewButtonState
impl Clone for AVRoutePickerViewButtonState
Source§fn clone(&self) -> AVRoutePickerViewButtonState
fn clone(&self) -> AVRoutePickerViewButtonState
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 AVRoutePickerViewButtonState
impl Debug for AVRoutePickerViewButtonState
Source§impl Hash for AVRoutePickerViewButtonState
impl Hash for AVRoutePickerViewButtonState
Source§impl Ord for AVRoutePickerViewButtonState
impl Ord for AVRoutePickerViewButtonState
Source§fn cmp(&self, other: &AVRoutePickerViewButtonState) -> Ordering
fn cmp(&self, other: &AVRoutePickerViewButtonState) -> 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 AVRoutePickerViewButtonState
impl PartialEq for AVRoutePickerViewButtonState
Source§fn eq(&self, other: &AVRoutePickerViewButtonState) -> bool
fn eq(&self, other: &AVRoutePickerViewButtonState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AVRoutePickerViewButtonState
impl PartialOrd for AVRoutePickerViewButtonState
Source§impl RefEncode for AVRoutePickerViewButtonState
impl RefEncode for AVRoutePickerViewButtonState
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 AVRoutePickerViewButtonState
impl Eq for AVRoutePickerViewButtonState
impl StructuralPartialEq for AVRoutePickerViewButtonState
Auto Trait Implementations§
impl Freeze for AVRoutePickerViewButtonState
impl RefUnwindSafe for AVRoutePickerViewButtonState
impl Send for AVRoutePickerViewButtonState
impl Sync for AVRoutePickerViewButtonState
impl Unpin for AVRoutePickerViewButtonState
impl UnwindSafe for AVRoutePickerViewButtonState
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.