#[repr(transparent)]pub struct AVCustomRoutingEventReason(pub NSInteger);
Available on crate feature
AVCustomRoutingEvent
only.Expand description
Values that indicate the reason for a routing event.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl AVCustomRoutingEventReason
impl AVCustomRoutingEventReason
Sourcepub const Deactivate: Self
pub const Deactivate: Self
A value that indicates that a user deselects a route in the picker.
Sourcepub const Reactivate: Self
pub const Reactivate: Self
A value that indicates to reactivate a route a user authorized previously.
Trait Implementations§
Source§impl Clone for AVCustomRoutingEventReason
impl Clone for AVCustomRoutingEventReason
Source§fn clone(&self) -> AVCustomRoutingEventReason
fn clone(&self) -> AVCustomRoutingEventReason
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 AVCustomRoutingEventReason
impl Debug for AVCustomRoutingEventReason
Source§impl Encode for AVCustomRoutingEventReason
impl Encode for AVCustomRoutingEventReason
Source§impl Hash for AVCustomRoutingEventReason
impl Hash for AVCustomRoutingEventReason
Source§impl Ord for AVCustomRoutingEventReason
impl Ord for AVCustomRoutingEventReason
Source§fn cmp(&self, other: &AVCustomRoutingEventReason) -> Ordering
fn cmp(&self, other: &AVCustomRoutingEventReason) -> 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 PartialOrd for AVCustomRoutingEventReason
impl PartialOrd for AVCustomRoutingEventReason
Source§impl RefEncode for AVCustomRoutingEventReason
impl RefEncode for AVCustomRoutingEventReason
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 AVCustomRoutingEventReason
impl Eq for AVCustomRoutingEventReason
impl StructuralPartialEq for AVCustomRoutingEventReason
Auto Trait Implementations§
impl Freeze for AVCustomRoutingEventReason
impl RefUnwindSafe for AVCustomRoutingEventReason
impl Send for AVCustomRoutingEventReason
impl Sync for AVCustomRoutingEventReason
impl Unpin for AVCustomRoutingEventReason
impl UnwindSafe for AVCustomRoutingEventReason
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.