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<FramerMode> for FramerMode
impl PartialEq<FramerMode> 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<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.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>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.