pub struct SourceEntry {
pub id: String,
pub name: String,
pub kind: SourceKind,
pub channels: usize,
pub samples: u64,
pub sample_rate: SampleRate,
pub start_time: RationalTime,
pub format: SampleFormat,
pub unit: SignalUnit,
}Expand description
One openable signal of a file.
Fields§
§id: StringStable id within the file (e.g. NWB series path, SpikeGLX file name, MAIN).
name: String§kind: SourceKind§channels: usize§samples: u64§sample_rate: SampleRate§start_time: RationalTime§format: SampleFormatStored sample type.
unit: SignalUnitUnit of the values a read returns.
Implementations§
Source§impl SourceEntry
impl SourceEntry
Trait Implementations§
Source§impl Clone for SourceEntry
impl Clone for SourceEntry
Source§impl Debug for SourceEntry
impl Debug for SourceEntry
Source§impl PartialEq for SourceEntry
impl PartialEq for SourceEntry
impl StructuralPartialEq for SourceEntry
Auto Trait Implementations§
impl Forget for SourceEntry
impl Freeze for SourceEntry
impl Move for SourceEntry
impl RefUnwindSafe for SourceEntry
impl Send for SourceEntry
impl Sync for SourceEntry
impl Unpin for SourceEntry
impl UnsafeUnpin for SourceEntry
impl UnwindSafe for SourceEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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