pub struct Window { /* private fields */ }
Implementations§
Source§impl Window
impl Window
pub fn input(&self) -> Input
pub fn play_mono<T, S>(&self, sig: S, config: ConfigSync) -> Result<()>
pub fn play_stereo<TL, TR, SL, SR>(
&self,
sig: Stereo<SL, SR>,
config: ConfigSync,
) -> Result<()>where
TL: ToF32 + Send + Sync + Copy + 'static,
TR: ToF32 + Send + Sync + Copy + 'static,
SL: SigSampleIntoBufT<Item = TL>,
SR: SigSampleIntoBufT<Item = TR>,
pub fn builder() -> WindowBuilder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Window
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnwindSafe for Window
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