pub struct AedatConfig {
pub validate_timestamps: bool,
pub validate_coordinates: bool,
pub max_resolution: Option<(u16, u16)>,
pub validate_polarity: bool,
pub skip_invalid_events: bool,
pub max_events: Option<usize>,
}Expand description
Configuration for AEDAT reading
Fields§
§validate_timestamps: boolValidate timestamp monotonicity
validate_coordinates: boolValidate coordinate bounds
max_resolution: Option<(u16, u16)>Maximum allowed sensor resolution (for bounds checking)
validate_polarity: boolValidate polarity values
skip_invalid_events: boolSkip events with invalid data instead of erroring
max_events: Option<usize>Maximum number of events to read (None for all)
Trait Implementations§
Source§impl Clone for AedatConfig
impl Clone for AedatConfig
Source§fn clone(&self) -> AedatConfig
fn clone(&self) -> AedatConfig
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 moreSource§impl Debug for AedatConfig
impl Debug for AedatConfig
Auto Trait Implementations§
impl Freeze for AedatConfig
impl RefUnwindSafe for AedatConfig
impl Send for AedatConfig
impl Sync for AedatConfig
impl Unpin for AedatConfig
impl UnsafeUnpin for AedatConfig
impl UnwindSafe for AedatConfig
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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