pub struct AudioQueryFrameLength<'a> { /* private fields */ }Expand description
AudioQuery::frame_lengthのビルダー。
Implementations§
Source§impl AudioQueryFrameLength<'_>
impl AudioQueryFrameLength<'_>
pub fn enable_interrogative_upspeak( self, enable_interrogative_upspeak: bool, ) -> Self
Sourcepub fn calculate(self) -> Saturating<usize>
pub fn calculate(self) -> Saturating<usize>
音声の総フレーム数を算出する。
詳細はAudioQuery::frame_lengthを参照。
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AudioQueryFrameLength<'a>
impl<'a> RefUnwindSafe for AudioQueryFrameLength<'a>
impl<'a> Send for AudioQueryFrameLength<'a>
impl<'a> Sync for AudioQueryFrameLength<'a>
impl<'a> Unpin for AudioQueryFrameLength<'a>
impl<'a> UnsafeUnpin for AudioQueryFrameLength<'a>
impl<'a> UnwindSafe for AudioQueryFrameLength<'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