pub struct RenderingSceneAudio<'a> {
pub frame: u32,
pub buffer0: &'a [f32],
pub buffer1: &'a [f32],
}Available on crate feature
generic only.Expand description
シーンの音声レンダリング結果。
Fields§
§frame: u32レンダリング対象のフレーム。
buffer0: &'a [f32]レンダリングした音声データ(左チャンネル)。
データはコールバック中のみ有効です。
buffer1: &'a [f32]レンダリングした音声データ(右チャンネル)。
データはコールバック中のみ有効です。
Trait Implementations§
Source§impl<'a> Clone for RenderingSceneAudio<'a>
impl<'a> Clone for RenderingSceneAudio<'a>
Source§fn clone(&self) -> RenderingSceneAudio<'a>
fn clone(&self) -> RenderingSceneAudio<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for RenderingSceneAudio<'a>
Auto Trait Implementations§
impl<'a> Freeze for RenderingSceneAudio<'a>
impl<'a> RefUnwindSafe for RenderingSceneAudio<'a>
impl<'a> Send for RenderingSceneAudio<'a>
impl<'a> Sync for RenderingSceneAudio<'a>
impl<'a> Unpin for RenderingSceneAudio<'a>
impl<'a> UnsafeUnpin for RenderingSceneAudio<'a>
impl<'a> UnwindSafe for RenderingSceneAudio<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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