pub enum FilterGenError {
ZeroOrder,
FrequenciesNotNondecreasing,
FrequenciesOutOfRange,
FrequenciesAndMagnitudesDifferentLength,
}
Variants§
ZeroOrder
FrequenciesNotNondecreasing
FrequenciesOutOfRange
FrequenciesAndMagnitudesDifferentLength
Trait Implementations§
source§impl Clone for FilterGenError
impl Clone for FilterGenError
source§fn clone(&self) -> FilterGenError
fn clone(&self) -> FilterGenError
Returns a copy 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 FilterGenError
impl Debug for FilterGenError
source§impl Display for FilterGenError
impl Display for FilterGenError
source§impl Error for FilterGenError
impl Error for FilterGenError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for FilterGenError
impl PartialEq for FilterGenError
source§fn eq(&self, other: &FilterGenError) -> bool
fn eq(&self, other: &FilterGenError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FilterGenError
impl StructuralPartialEq for FilterGenError
Auto Trait Implementations§
impl Freeze for FilterGenError
impl NotPolynomial for FilterGenError
impl NotRange for FilterGenError
impl NotVoid for FilterGenError
impl RefUnwindSafe for FilterGenError
impl Send for FilterGenError
impl Sync for FilterGenError
impl Unpin for FilterGenError
impl UnwindSafe for FilterGenError
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> ContainerOrSingle<T> for T
impl<T> ContainerOrSingle<T> for T
type Index = ()
type Mapped<M> = M
fn map_to_owned<'a, F>( &'a self, map: F ) -> <T as ContainerOrSingle<T>>::Mapped<<F as FnOnce(&'a T)>::Output>
fn map_into_owned<F>( self, map: F ) -> <T as ContainerOrSingle<T>>::Mapped<<F as FnOnce(T)>::Output>
fn index_get(&self, _: <T as ContainerOrSingle<T>>::Index) -> Option<&T>
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.