Struct cybergrape::spatial_data_format::GrapeFileHeader
source · struct GrapeFileHeader {
n_streams: u64,
sample_rate: u64,
tags: Vec<GrapeTag>,
}
Expand description
This struct contains the header data for a GrapeFile.
Fields§
§n_streams: u64
§sample_rate: u64
Trait Implementations§
source§impl Clone for GrapeFileHeader
impl Clone for GrapeFileHeader
source§fn clone(&self) -> GrapeFileHeader
fn clone(&self) -> GrapeFileHeader
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 GrapeFileHeader
impl Debug for GrapeFileHeader
source§impl<'de> Deserialize<'de> for GrapeFileHeader
impl<'de> Deserialize<'de> for GrapeFileHeader
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GrapeFileHeader
impl PartialEq for GrapeFileHeader
source§fn eq(&self, other: &GrapeFileHeader) -> bool
fn eq(&self, other: &GrapeFileHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GrapeFileHeader
impl Serialize for GrapeFileHeader
impl Eq for GrapeFileHeader
impl StructuralPartialEq for GrapeFileHeader
Auto Trait Implementations§
impl Freeze for GrapeFileHeader
impl RefUnwindSafe for GrapeFileHeader
impl Send for GrapeFileHeader
impl Sync for GrapeFileHeader
impl Unpin for GrapeFileHeader
impl UnwindSafe for GrapeFileHeader
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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