pub struct MultiUserAudioSource {
pub id: SourceId,
pub owner_id: UserId,
pub position: Position3D,
pub source_type: AudioSourceType,
pub volume: f32,
pub is_active: bool,
pub spatial_properties: SpatialProperties,
pub access_control: SourceAccessControl,
pub quality_settings: SourceQualitySettings,
}Expand description
Audio source in multi-user environment
Fields§
§id: SourceIdUnique source identifier
owner_id: UserIdOwner of this audio source
position: Position3DSource position in 3D space
source_type: AudioSourceTypeSource type and characteristics
volume: f32Volume level (0.0-1.0)
is_active: boolWhether the source is currently active
spatial_properties: SpatialPropertiesSpatial audio properties
access_control: SourceAccessControlAccess control for this source
quality_settings: SourceQualitySettingsQuality settings for this source
Trait Implementations§
Source§impl Clone for MultiUserAudioSource
impl Clone for MultiUserAudioSource
Source§fn clone(&self) -> MultiUserAudioSource
fn clone(&self) -> MultiUserAudioSource
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 moreAuto Trait Implementations§
impl Freeze for MultiUserAudioSource
impl RefUnwindSafe for MultiUserAudioSource
impl Send for MultiUserAudioSource
impl Sync for MultiUserAudioSource
impl Unpin for MultiUserAudioSource
impl UnsafeUnpin for MultiUserAudioSource
impl UnwindSafe for MultiUserAudioSource
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more