pub struct MotionHistoryPlan<FrameId> { /* private fields */ }Expand description
Render-independent result of deterministic gap-aware motion accumulation.
Implementations§
Source§impl<F> MotionHistoryPlan<F>
impl<F> MotionHistoryPlan<F>
pub fn accumulation(&self) -> &[u16]
pub const fn ever_changed(&self) -> &BinaryMask
pub const fn outline(&self) -> &BinaryMask
pub const fn dimensions(&self) -> PixelDimensions
pub const fn reference_frame_index(&self) -> usize
pub const fn reference_frame_id(&self) -> &F
pub const fn continuity_segment_count(&self) -> usize
pub const fn live_window(&self) -> u32
pub const fn measured_pair_count(&self) -> usize
pub const fn gap_pair_count(&self) -> usize
pub const fn changed_pixel_count(&self) -> u64
pub const fn max_segment_rank(&self) -> u32
pub const fn range(&self) -> TimeRange
Trait Implementations§
Source§impl<FrameId: Clone> Clone for MotionHistoryPlan<FrameId>
impl<FrameId: Clone> Clone for MotionHistoryPlan<FrameId>
Source§fn clone(&self) -> MotionHistoryPlan<FrameId>
fn clone(&self) -> MotionHistoryPlan<FrameId>
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<FrameId: Debug> Debug for MotionHistoryPlan<FrameId>
impl<FrameId: Debug> Debug for MotionHistoryPlan<FrameId>
impl<FrameId: Eq> Eq for MotionHistoryPlan<FrameId>
Source§impl<FrameId: PartialEq> PartialEq for MotionHistoryPlan<FrameId>
impl<FrameId: PartialEq> PartialEq for MotionHistoryPlan<FrameId>
Source§impl<FrameId> Serialize for MotionHistoryPlan<FrameId>where
FrameId: Serialize,
impl<FrameId> Serialize for MotionHistoryPlan<FrameId>where
FrameId: Serialize,
impl<FrameId: PartialEq> StructuralPartialEq for MotionHistoryPlan<FrameId>
Auto Trait Implementations§
impl<FrameId> Freeze for MotionHistoryPlan<FrameId>where
FrameId: Freeze,
impl<FrameId> RefUnwindSafe for MotionHistoryPlan<FrameId>where
FrameId: RefUnwindSafe,
impl<FrameId> Send for MotionHistoryPlan<FrameId>where
FrameId: Send,
impl<FrameId> Sync for MotionHistoryPlan<FrameId>where
FrameId: Sync,
impl<FrameId> Unpin for MotionHistoryPlan<FrameId>where
FrameId: Unpin,
impl<FrameId> UnsafeUnpin for MotionHistoryPlan<FrameId>where
FrameId: UnsafeUnpin,
impl<FrameId> UnwindSafe for MotionHistoryPlan<FrameId>where
FrameId: UnwindSafe,
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