pub struct FrameMapEntry {
pub source_index: u32,
pub blend_weight: u16,
}Expand description
A single entry in the frame map produced by
FrameRateConverter::build_frame_map.
Fields§
§source_index: u32Index of the (primary) source frame.
blend_weight: u16Blend weight toward the next source frame (0..256). 0 means 100% this frame, 256 means 100% next frame. For non-blend modes this is always 256 (use source_index as-is).
Trait Implementations§
Source§impl Clone for FrameMapEntry
impl Clone for FrameMapEntry
Source§fn clone(&self) -> FrameMapEntry
fn clone(&self) -> FrameMapEntry
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameMapEntry
impl Debug for FrameMapEntry
Source§impl PartialEq for FrameMapEntry
impl PartialEq for FrameMapEntry
impl Copy for FrameMapEntry
impl Eq for FrameMapEntry
impl StructuralPartialEq for FrameMapEntry
Auto Trait Implementations§
impl Freeze for FrameMapEntry
impl RefUnwindSafe for FrameMapEntry
impl Send for FrameMapEntry
impl Sync for FrameMapEntry
impl Unpin for FrameMapEntry
impl UnwindSafe for FrameMapEntry
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)