pub struct SaveOptions {
pub topic: Option<String>,
pub colormap: Colormap,
pub normalize: Option<bool>,
}Expand description
Options for the save_stream / save_frame writers — the symmetric mirror of
LoadOptions. Most formats ignore every field; readers and writers agree on the rest.
Fields§
§topic: Option<String>Rosbag topic to write the dvs_msgs/EventArray messages on (defaults to
/davis/left/events, matching the reader).
colormap: ColormapPNG frame export only: the colour map (default Colormap::Viridis).
normalize: Option<bool>PNG frame export only: auto-contrast the field to its data range. None = true.
Trait Implementations§
Source§impl Clone for SaveOptions
impl Clone for SaveOptions
Source§fn clone(&self) -> SaveOptions
fn clone(&self) -> SaveOptions
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 SaveOptions
impl Debug for SaveOptions
Source§impl Default for SaveOptions
impl Default for SaveOptions
Source§fn default() -> SaveOptions
fn default() -> SaveOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SaveOptions
impl RefUnwindSafe for SaveOptions
impl Send for SaveOptions
impl Sync for SaveOptions
impl Unpin for SaveOptions
impl UnsafeUnpin for SaveOptions
impl UnwindSafe for SaveOptions
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