pub struct WindowCache { /* private fields */ }Implementations§
Source§impl WindowCache
impl WindowCache
pub fn new() -> Self
Sourcepub fn get_window(&mut self, window_type: WindowType, size: usize) -> Vec<f64>
pub fn get_window(&mut self, window_type: WindowType, size: usize) -> Vec<f64>
Get or compute window function
Sourcepub fn warmup(&mut self, window_type: WindowType)
pub fn warmup(&mut self, window_type: WindowType)
Precompute common window sizes
Auto Trait Implementations§
impl Freeze for WindowCache
impl RefUnwindSafe for WindowCache
impl Send for WindowCache
impl Sync for WindowCache
impl Unpin for WindowCache
impl UnsafeUnpin for WindowCache
impl UnwindSafe for WindowCache
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