#[repr(C)]pub struct AVAudio3DVectorOrientation {
pub forward: AVAudio3DVector,
pub up: AVAudio3DVector,
}Available on crate feature
AVAudioTypes only.Expand description
Struct representing the orientation of the listener in 3D space
Two orthogonal vectors describe the orientation of the listener. The forward vector points in the direction that the listener is facing. The up vector is orthogonal to the forward vector and points upwards from the listener’s head.
See also Apple’s documentation
Fields§
§forward: AVAudio3DVector§up: AVAudio3DVectorTrait Implementations§
Source§impl Clone for AVAudio3DVectorOrientation
impl Clone for AVAudio3DVectorOrientation
Source§fn clone(&self) -> AVAudio3DVectorOrientation
fn clone(&self) -> AVAudio3DVectorOrientation
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 AVAudio3DVectorOrientation
impl Debug for AVAudio3DVectorOrientation
Source§impl Encode for AVAudio3DVectorOrientation
impl Encode for AVAudio3DVectorOrientation
Source§impl RefEncode for AVAudio3DVectorOrientation
impl RefEncode for AVAudio3DVectorOrientation
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 AVAudio3DVectorOrientation
impl StructuralPartialEq for AVAudio3DVectorOrientation
Auto Trait Implementations§
impl Freeze for AVAudio3DVectorOrientation
impl RefUnwindSafe for AVAudio3DVectorOrientation
impl Send for AVAudio3DVectorOrientation
impl Sync for AVAudio3DVectorOrientation
impl Unpin for AVAudio3DVectorOrientation
impl UnwindSafe for AVAudio3DVectorOrientation
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.