pub struct FilmstripTilePlan<FrameId> { /* private fields */ }Expand description
Everything needed to render one chronological fixed-region tile.
Implementations§
Source§impl<F> FilmstripTilePlan<F>
impl<F> FilmstripTilePlan<F>
pub fn frame_id(&self) -> &F
pub const fn frame_index(&self) -> usize
pub const fn timestamp(&self) -> Timestamp
pub const fn anchor_offset_nanos(&self) -> i128
pub const fn source_rect(&self) -> Option<PixelRect>
pub const fn padding(&self) -> PaddingInsets
pub const fn gap_after(&self) -> bool
Trait Implementations§
Source§impl<FrameId: Clone> Clone for FilmstripTilePlan<FrameId>
impl<FrameId: Clone> Clone for FilmstripTilePlan<FrameId>
Source§impl<FrameId: Debug> Debug for FilmstripTilePlan<FrameId>
impl<FrameId: Debug> Debug for FilmstripTilePlan<FrameId>
impl<FrameId: Eq> Eq for FilmstripTilePlan<FrameId>
Source§impl<FrameId: PartialEq> PartialEq for FilmstripTilePlan<FrameId>
impl<FrameId: PartialEq> PartialEq for FilmstripTilePlan<FrameId>
Source§impl<FrameId> Serialize for FilmstripTilePlan<FrameId>where
FrameId: Serialize,
impl<FrameId> Serialize for FilmstripTilePlan<FrameId>where
FrameId: Serialize,
impl<FrameId: PartialEq> StructuralPartialEq for FilmstripTilePlan<FrameId>
Auto Trait Implementations§
impl<FrameId> Forget for FilmstripTilePlan<FrameId>
impl<FrameId> Freeze for FilmstripTilePlan<FrameId>where
FrameId: Freeze,
impl<FrameId> Move for FilmstripTilePlan<FrameId>
impl<FrameId> RefUnwindSafe for FilmstripTilePlan<FrameId>where
FrameId: RefUnwindSafe,
impl<FrameId> Send for FilmstripTilePlan<FrameId>where
FrameId: Send,
impl<FrameId> Sync for FilmstripTilePlan<FrameId>where
FrameId: Sync,
impl<FrameId> Unpin for FilmstripTilePlan<FrameId>where
FrameId: Unpin,
impl<FrameId> UnsafeUnpin for FilmstripTilePlan<FrameId>where
FrameId: UnsafeUnpin,
impl<FrameId> UnwindSafe for FilmstripTilePlan<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