pub struct TrackState {
pub clip: Option<u64>,
pub cx: f32,
pub cy: f32,
pub hw: f32,
pub hh: f32,
pub search: f32,
pub refresh: u32,
pub name: String,
pub status: String,
job: Option<TrackJob>,
points: Vec<(f32, f32, f32)>,
}Fields§
§clip: Option<u64>Clip to track; None follows the selection.
cx: f32Tracker box in project px relative to the canvas centre (the Preview draws and drags it).
cy: f32§hw: f32§hh: f32§search: f32How far from the last position the template is looked for, in px.
refresh: u32Re-grab the template every N frames (0 = never; a rigid feature drifts less without it).
name: String§status: String§job: Option<TrackJob>§points: Vec<(f32, f32, f32)>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrackState
impl RefUnwindSafe for TrackState
impl Send for TrackState
impl !Sync for TrackState
impl Unpin for TrackState
impl UnwindSafe for TrackState
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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