pub struct SampleMetadata {
pub source: String,
pub index: u64,
}Expand description
Metadata about where a sample came from.
Fields§
§source: StringSource identifier (e.g., filename).
index: u64Index within the source.
Trait Implementations§
Source§impl Clone for SampleMetadata
impl Clone for SampleMetadata
Source§fn clone(&self) -> SampleMetadata
fn clone(&self) -> SampleMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SampleMetadata
impl RefUnwindSafe for SampleMetadata
impl Send for SampleMetadata
impl Sync for SampleMetadata
impl Unpin for SampleMetadata
impl UnsafeUnpin for SampleMetadata
impl UnwindSafe for SampleMetadata
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