Struct signal_processing::window::BlackmanHarris
source · pub struct BlackmanHarris;Trait Implementations§
source§impl<T, const N: usize> WindowGen<T, [T; N], ()> for BlackmanHarriswhere
T: Float + FloatConst,
impl<T, const N: usize> WindowGen<T, [T; N], ()> for BlackmanHarriswhere
T: Float + FloatConst,
type Output = [T; N]
fn window_gen(&self, (): (), r: WindowRange) -> Self::Output
source§impl<T> WindowGen<T, Vec<T>, usize> for BlackmanHarriswhere
T: Float + FloatConst,
impl<T> WindowGen<T, Vec<T>, usize> for BlackmanHarriswhere
T: Float + FloatConst,
type Output = Vec<T>
fn window_gen(&self, n: usize, r: WindowRange) -> Self::Output
Auto Trait Implementations§
impl Freeze for BlackmanHarris
impl NotPolynomial for BlackmanHarris
impl NotRange for BlackmanHarris
impl NotVoid for BlackmanHarris
impl RefUnwindSafe for BlackmanHarris
impl Send for BlackmanHarris
impl Sync for BlackmanHarris
impl Unpin for BlackmanHarris
impl UnwindSafe for BlackmanHarris
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> ListOrSingle<T> for T
impl<T> ListOrSingle<T> for T
source§impl<T, E> ResultOrOk<T, E> for T
impl<T, E> ResultOrOk<T, E> for T
source§impl<Some> StaticMaybe<Some> for Some
impl<Some> StaticMaybe<Some> for Some
const IS_SOME: bool = true
const IS_NONE: bool = false
type None = ()
type Some = Some
type Opposite = ()
type Maybe<M: StaticMaybe<M> + ?Sized> = <M as StaticMaybe<M>>::Some
type MaybeOr<M: ?Sized, O: ?Sized> = M
fn maybe_from_fn<F>(func: F) -> Somewhere
F: FnOnce() -> Some,
fn maybe_or_from_fn<M, O>( maybe: M, _or: O ) -> <Some as StaticMaybe<Some>>::MaybeOr<<M as FnOnce()>::Output, <O as FnOnce()>::Output>
fn maybe_map<F>( self, map: F ) -> <Some as StaticMaybe<Some>>::Maybe<<F as FnOnce(Some)>::Output>
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.