#[repr(transparent)]pub struct AVAudioStereoOrientation(pub NSInteger);Available on crate feature
AVAudioSessionTypes only.Expand description
Constants indicating stereo input audio orientation, for use with built-in mic input data sources with a stereo polar pattern selected.
Indicates that audio capture orientation is not applicable (on mono capture, for instance).
Indicates that audio capture should be oriented vertically, Lightning connector on the bottom.
Indicates that audio capture should be oriented vertically, Lightning connector on the top.
Indicates that audio capture should be oriented horizontally, Lightning connector on the right.
Indicates that audio capture should be oriented horizontally, Lightning connector on the left.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVAudioStereoOrientation
impl AVAudioStereoOrientation
pub const None: Self
pub const Portrait: Self
pub const PortraitUpsideDown: Self
pub const LandscapeRight: Self
pub const LandscapeLeft: Self
Trait Implementations§
Source§impl Clone for AVAudioStereoOrientation
impl Clone for AVAudioStereoOrientation
Source§fn clone(&self) -> AVAudioStereoOrientation
fn clone(&self) -> AVAudioStereoOrientation
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 AVAudioStereoOrientation
impl Debug for AVAudioStereoOrientation
Source§impl Encode for AVAudioStereoOrientation
impl Encode for AVAudioStereoOrientation
Source§impl Hash for AVAudioStereoOrientation
impl Hash for AVAudioStereoOrientation
Source§impl Ord for AVAudioStereoOrientation
impl Ord for AVAudioStereoOrientation
Source§fn cmp(&self, other: &AVAudioStereoOrientation) -> Ordering
fn cmp(&self, other: &AVAudioStereoOrientation) -> 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 AVAudioStereoOrientation
impl PartialEq for AVAudioStereoOrientation
Source§impl PartialOrd for AVAudioStereoOrientation
impl PartialOrd for AVAudioStereoOrientation
Source§impl RefEncode for AVAudioStereoOrientation
impl RefEncode for AVAudioStereoOrientation
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 AVAudioStereoOrientation
impl Eq for AVAudioStereoOrientation
impl StructuralPartialEq for AVAudioStereoOrientation
Auto Trait Implementations§
impl Freeze for AVAudioStereoOrientation
impl RefUnwindSafe for AVAudioStereoOrientation
impl Send for AVAudioStereoOrientation
impl Sync for AVAudioStereoOrientation
impl Unpin for AVAudioStereoOrientation
impl UnwindSafe for AVAudioStereoOrientation
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.