pub struct FrameInput {
pub index: u32,
pub time: f64,
pub plan: FramePlan,
pub has_prev: bool,
pub prev_plan: Option<FramePlan>,
pub has_next: bool,
pub next_plan: Option<FramePlan>,
}Expand description
What the host knows about one frame when it composites it.
Fields§
§index: u32§time: f64The decoded frame’s time (the observation row’s time).
plan: FramePlan§has_prev: boolWhether the previous / next decoded frame is in hand, and its stored plan when there is one.
prev_plan: Option<FramePlan>§has_next: bool§next_plan: Option<FramePlan>Trait Implementations§
Source§impl Clone for FrameInput
impl Clone for FrameInput
Source§impl Debug for FrameInput
impl Debug for FrameInput
Source§impl PartialEq for FrameInput
impl PartialEq for FrameInput
impl StructuralPartialEq for FrameInput
Auto Trait Implementations§
impl Freeze for FrameInput
impl RefUnwindSafe for FrameInput
impl Send for FrameInput
impl Sync for FrameInput
impl Unpin for FrameInput
impl UnsafeUnpin for FrameInput
impl UnwindSafe for FrameInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more