pub struct LoadOptions {
pub sensor_size: Option<(usize, usize)>,
pub time_unit: Option<TimeUnit>,
pub order: ColumnOrder,
pub topic: Option<String>,
pub max_events: Option<usize>,
}Expand description
Options for the unified load entry point. Most fields apply to a single
format; readers ignore the ones they do not need.
Fields§
§sensor_size: Option<(usize, usize)>(width, height). None infers it from the data (coordinate range), or from the
message for rosbag. An explicit value overrides and, for HDF5, skips the scan.
time_unit: Option<TimeUnit>Timestamp unit. None infers it (HDF5/text): a fractional text value means
seconds, otherwise the unit is chosen from the recording span (see
TimeUnit::infer_from_span). Ignored for rosbag (always ROS sec+nsec).
order: ColumnOrderText column order.
topic: Option<String>Rosbag topic to read (defaults to /davis/left/events).
max_events: Option<usize>Cap on the number of events to read.
Trait Implementations§
Source§impl Clone for LoadOptions
impl Clone for LoadOptions
Source§fn clone(&self) -> LoadOptions
fn clone(&self) -> LoadOptions
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 LoadOptions
impl Debug for LoadOptions
Source§impl Default for LoadOptions
impl Default for LoadOptions
Source§fn default() -> LoadOptions
fn default() -> LoadOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoadOptions
impl RefUnwindSafe for LoadOptions
impl Send for LoadOptions
impl Sync for LoadOptions
impl Unpin for LoadOptions
impl UnsafeUnpin for LoadOptions
impl UnwindSafe for LoadOptions
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