#[repr(C)]pub struct WangHash {
pub hash: u32,
pub t_anchor: u32,
}Expand description
One anchor-target landmark pair packed into a 32-bit hash.
Fields§
§hash: u3232-bit hash: f_a_q (9) | f_b_q (9) | Δt (14), MSB first.
t_anchor: u32STFT frame index of the anchor peak.
Trait Implementations§
impl Copy for WangHash
impl Eq for WangHash
impl Pod for WangHash
impl StructuralPartialEq for WangHash
Auto Trait Implementations§
impl Freeze for WangHash
impl RefUnwindSafe for WangHash
impl Send for WangHash
impl Sync for WangHash
impl Unpin for WangHash
impl UnsafeUnpin for WangHash
impl UnwindSafe for WangHash
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.