pub struct AngularPannedSource(/* private fields */);Implementations§
Source§impl AngularPannedSource
impl AngularPannedSource
pub fn new( context: &Context, panner_strategy: PannerStrategy, azimuth: f64, elevation: f64, ) -> Result<AngularPannedSource>
pub fn gain(&self) -> DoubleProperty<'_>
pub fn get_filter(&self) -> Result<BiquadConfig>
pub fn set_filter(&self, cfg: &BiquadConfig) -> Result<()>
pub fn get_filter_direct(&self) -> Result<BiquadConfig>
pub fn set_filter_direct(&self, cfg: &BiquadConfig) -> Result<()>
pub fn get_filter_effects(&self) -> Result<BiquadConfig>
pub fn set_filter_effects(&self, cfg: &BiquadConfig) -> Result<()>
pub fn elevation(&self) -> DoubleProperty<'_>
pub fn azimuth(&self) -> DoubleProperty<'_>
pub fn handle(&self) -> &Handle
pub fn into_handle(self) -> Handle
pub fn get_type(&self) -> Result<ObjectType>
Sourcepub fn cast_to<T: CastTarget>(&self) -> Result<Option<T>>
pub fn cast_to<T: CastTarget>(&self) -> Result<Option<T>>
Try to cast this object to another object type. Will return
Ok(None) if this is because of a type mismatch, otherwise Err.
Clones self on success in order to prevent throwing the object
away on error.
pub fn get_userdata(&self) -> Result<Option<Arc<dyn Any + Send + Sync>>>
pub fn set_userdata( &self, userdata: Option<impl Any + Send + Sync>, ) -> Result<()>
pub fn config_delete_behavior( &self, config: &DeleteBehaviorConfig, ) -> Result<()>
pub fn current_time(&self) -> DoubleProperty<'_>
pub fn suggested_automation_time(&self) -> DoubleProperty<'_>
pub fn pause(&self) -> Result<()>
pub fn play(&self) -> Result<()>
pub fn add_generator<T: IsGenerator>(&self, generator: &T) -> Result<()>
pub fn remove_generator<T: IsGenerator>(&self, generator: &T) -> Result<()>
Trait Implementations§
Source§impl Clone for AngularPannedSource
impl Clone for AngularPannedSource
Source§fn clone(&self) -> AngularPannedSource
fn clone(&self) -> AngularPannedSource
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 AngularPannedSource
impl Debug for AngularPannedSource
Source§impl From<&AngularPannedSource> for Handle
impl From<&AngularPannedSource> for Handle
Source§fn from(other: &AngularPannedSource) -> Handle
fn from(other: &AngularPannedSource) -> Handle
Converts to this type from the input type.
Source§impl From<&AngularPannedSource> for Source
impl From<&AngularPannedSource> for Source
Source§fn from(other: &AngularPannedSource) -> Source
fn from(other: &AngularPannedSource) -> Source
Converts to this type from the input type.
Source§impl From<AngularPannedSource> for Handle
impl From<AngularPannedSource> for Handle
Source§fn from(input: AngularPannedSource) -> Handle
fn from(input: AngularPannedSource) -> Handle
Converts to this type from the input type.
Source§impl From<AngularPannedSource> for Source
impl From<AngularPannedSource> for Source
Source§fn from(input: AngularPannedSource) -> Source
fn from(input: AngularPannedSource) -> Source
Converts to this type from the input type.
Source§impl Hash for AngularPannedSource
impl Hash for AngularPannedSource
Source§impl Ord for AngularPannedSource
impl Ord for AngularPannedSource
Source§fn cmp(&self, other: &AngularPannedSource) -> Ordering
fn cmp(&self, other: &AngularPannedSource) -> 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 AngularPannedSource
impl PartialEq for AngularPannedSource
Source§impl PartialOrd for AngularPannedSource
impl PartialOrd for AngularPannedSource
Source§impl TryFrom<&Handle> for AngularPannedSource
impl TryFrom<&Handle> for AngularPannedSource
Source§impl TryFrom<&Source> for AngularPannedSource
impl TryFrom<&Source> for AngularPannedSource
Source§impl TryFrom<Handle> for AngularPannedSource
impl TryFrom<Handle> for AngularPannedSource
Source§impl TryFrom<Source> for AngularPannedSource
impl TryFrom<Source> for AngularPannedSource
impl Eq for AngularPannedSource
impl StructuralPartialEq for AngularPannedSource
Auto Trait Implementations§
impl Freeze for AngularPannedSource
impl RefUnwindSafe for AngularPannedSource
impl Send for AngularPannedSource
impl Sync for AngularPannedSource
impl Unpin for AngularPannedSource
impl UnwindSafe for AngularPannedSource
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