pub struct PannerNode(/* private fields */);
Implementations§
Source§impl PannerNode
impl PannerNode
pub fn new(context: &AudioContext) -> Self
pub fn set_distance_model(&mut self, model: DistanceModel)
pub fn set_position(&mut self, pos: [f32; 3])
pub fn set_ref_distance(&mut self, ref_distance: f64)
pub fn set_max_distance(&mut self, max_distance: f64)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PannerNode
impl RefUnwindSafe for PannerNode
impl Send for PannerNode
impl Sync for PannerNode
impl Unpin for PannerNode
impl UnwindSafe for PannerNode
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