Struct adder_codec_rs::transcoder::event_pixel::pixel::LastEvent
source · [−]pub struct LastEvent { /* private fields */ }
Expand description
The last Event
fired by a pixel
Implementations
sourceimpl LastEvent
impl LastEvent
sourcepub fn calc_frame_intensity(&mut self, ref_time: u32)
pub fn calc_frame_intensity(&mut self, ref_time: u32)
Calculate the instantaneous frame-length normalized intensity of the event
pub fn calc_frame_delta_t(&mut self, delta_t_max: DeltaT)
sourcepub fn get_frame_intensity(&self) -> Intensity
pub fn get_frame_intensity(&self) -> Intensity
Getter method. Should only be called after calc_frame_intensity
sourcepub fn get_frame_delta_t(&self) -> Intensity
pub fn get_frame_delta_t(&self) -> Intensity
Getter method. Should only be called after calc_frame_delta_t
Trait Implementations
impl Copy for LastEvent
Auto Trait Implementations
impl RefUnwindSafe for LastEvent
impl Send for LastEvent
impl Sync for LastEvent
impl Unpin for LastEvent
impl UnwindSafe for LastEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more