pub struct AudioObjectInfo {
pub sample_index: u64,
pub sample_total: u64,
pub sample_num: u32,
pub channel_num: u32,
}Available on crate feature
filter only.Expand description
音声フィルタのオブジェクト情報。
Fields§
§sample_index: u64オブジェクトの現在の音声サンプル位置。
sample_total: u64オブジェクトの総サンプル数。
sample_num: u32オブジェクトの現在の音声サンプル数。
channel_num: u32オブジェクトの現在の音声チャンネル数。 通常2になります。
Trait Implementations§
Source§impl Clone for AudioObjectInfo
impl Clone for AudioObjectInfo
Source§fn clone(&self) -> AudioObjectInfo
fn clone(&self) -> AudioObjectInfo
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 AudioObjectInfo
impl Debug for AudioObjectInfo
impl Copy for AudioObjectInfo
Auto Trait Implementations§
impl Freeze for AudioObjectInfo
impl RefUnwindSafe for AudioObjectInfo
impl Send for AudioObjectInfo
impl Sync for AudioObjectInfo
impl Unpin for AudioObjectInfo
impl UnwindSafe for AudioObjectInfo
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> 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