pub struct AtomIndex {
pub wavelet_idx: usize,
pub scale: usize,
pub position: usize,
}Expand description
Identifier for a dictionary atom
Atoms are indexed by their wavelet type, scale, and time position.
Fields§
§wavelet_idx: usizeIndex into the wavelets array
scale: usizeScale parameter (for wavelet transforms)
position: usizePosition/translation parameter
Implementations§
Trait Implementations§
impl Eq for AtomIndex
impl StructuralPartialEq for AtomIndex
Auto Trait Implementations§
impl Freeze for AtomIndex
impl RefUnwindSafe for AtomIndex
impl Send for AtomIndex
impl Sync for AtomIndex
impl Unpin for AtomIndex
impl UnwindSafe for AtomIndex
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more