Enum adder_codec_rs::framer::driver::FramerMode
source · pub enum FramerMode {
INSTANTANEOUS,
INTEGRATION,
}
Expand description
The mode for how a Framer
should handle events which span multiple frames and frames
spanning multiple events.
Variants§
INSTANTANEOUS
Each frame’s pixel values are derived from only the last event which spanned the frame’s integration period.
INTEGRATION
The frame is the sum of all events in the integration period.
Trait Implementations§
source§impl Clone for FramerMode
impl Clone for FramerMode
source§fn clone(&self) -> FramerMode
fn clone(&self) -> FramerMode
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 FramerMode
impl Debug for FramerMode
source§impl PartialEq for FramerMode
impl PartialEq for FramerMode
source§fn eq(&self, other: &FramerMode) -> bool
fn eq(&self, other: &FramerMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FramerMode
impl Eq for FramerMode
impl StructuralEq for FramerMode
impl StructuralPartialEq for FramerMode
Auto Trait Implementations§
impl RefUnwindSafe for FramerMode
impl Send for FramerMode
impl Sync for FramerMode
impl Unpin for FramerMode
impl UnwindSafe for FramerMode
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.