[][src]Struct web_sys::PannerOptions

#[repr(transparent)]pub struct PannerOptions { /* fields omitted */ }

The PannerOptions dictionary.

This API requires the following crate features to be activated: PannerOptions

Methods

impl PannerOptions[src]

pub fn new() -> Self[src]

Construct a new PannerOptions.

This API requires the following crate features to be activated: PannerOptions

pub fn channel_count(&mut self, val: u32) -> &mut Self[src]

Change the channelCount field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn channel_count_mode(&mut self, val: ChannelCountMode) -> &mut Self[src]

Change the channelCountMode field of this object.

This API requires the following crate features to be activated: ChannelCountMode, PannerOptions

pub fn channel_interpretation(
    &mut self,
    val: ChannelInterpretation
) -> &mut Self
[src]

Change the channelInterpretation field of this object.

This API requires the following crate features to be activated: ChannelInterpretation, PannerOptions

pub fn cone_inner_angle(&mut self, val: f64) -> &mut Self[src]

Change the coneInnerAngle field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn cone_outer_angle(&mut self, val: f64) -> &mut Self[src]

Change the coneOuterAngle field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn cone_outer_gain(&mut self, val: f64) -> &mut Self[src]

Change the coneOuterGain field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn distance_model(&mut self, val: DistanceModelType) -> &mut Self[src]

Change the distanceModel field of this object.

This API requires the following crate features to be activated: DistanceModelType, PannerOptions

pub fn max_distance(&mut self, val: f64) -> &mut Self[src]

Change the maxDistance field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn orientation_x(&mut self, val: f32) -> &mut Self[src]

Change the orientationX field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn orientation_y(&mut self, val: f32) -> &mut Self[src]

Change the orientationY field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn orientation_z(&mut self, val: f32) -> &mut Self[src]

Change the orientationZ field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn panning_model(&mut self, val: PanningModelType) -> &mut Self[src]

Change the panningModel field of this object.

This API requires the following crate features to be activated: PannerOptions, PanningModelType

pub fn position_x(&mut self, val: f32) -> &mut Self[src]

Change the positionX field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn position_y(&mut self, val: f32) -> &mut Self[src]

Change the positionY field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn position_z(&mut self, val: f32) -> &mut Self[src]

Change the positionZ field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn ref_distance(&mut self, val: f64) -> &mut Self[src]

Change the refDistance field of this object.

This API requires the following crate features to be activated: PannerOptions

pub fn rolloff_factor(&mut self, val: f64) -> &mut Self[src]

Change the rolloffFactor field of this object.

This API requires the following crate features to be activated: PannerOptions

Trait Implementations

impl AsRef<JsValue> for PannerOptions[src]

impl AsRef<Object> for PannerOptions[src]

impl AsRef<PannerOptions> for PannerOptions[src]

impl Clone for PannerOptions[src]

impl Debug for PannerOptions[src]

impl Deref for PannerOptions[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for PannerOptions[src]

impl From<JsValue> for PannerOptions[src]

impl From<PannerOptions> for JsValue[src]

impl From<PannerOptions> for Object[src]

impl FromWasmAbi for PannerOptions[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for PannerOptions[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a PannerOptions[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for PannerOptions[src]

impl OptionFromWasmAbi for PannerOptions[src]

impl OptionIntoWasmAbi for PannerOptions[src]

impl<'a> OptionIntoWasmAbi for &'a PannerOptions[src]

impl PartialEq<PannerOptions> for PannerOptions[src]

impl RefFromWasmAbi for PannerOptions[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<PannerOptions>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for PannerOptions[src]

impl StructuralPartialEq for PannerOptions[src]

impl WasmDescribe for PannerOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.