pub struct Fingerprint<F: FingerprintRef> { /* private fields */ }
Expand description
Holds a single fingerprint returned by Chromaprint.
This can be one of:
- Base64: A fingerprint as a base-64 string. This is what you would use to upload a fingerprint to acousticid.
- Raw: A fingerprint as a raw byte array. This is the normal representation.
- Hash: A 32-bit hash of the raw fingerprint. Basically a compressed version of the raw fingerprint.
Implementations§
Trait Implementations§
Source§impl<F: Debug + FingerprintRef> Debug for Fingerprint<F>
impl<F: Debug + FingerprintRef> Debug for Fingerprint<F>
Auto Trait Implementations§
impl<F> Freeze for Fingerprint<F>where
F: Freeze,
impl<F> RefUnwindSafe for Fingerprint<F>where
F: RefUnwindSafe,
impl<F> Send for Fingerprint<F>where
F: Send,
impl<F> Sync for Fingerprint<F>where
F: Sync,
impl<F> Unpin for Fingerprint<F>where
F: Unpin,
impl<F> UnwindSafe for Fingerprint<F>where
F: UnwindSafe,
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