pub struct PoseNode {
pub id: String,
pub canvas_id: String,
pub frame: u32,
pub x: f64,
pub y: f64,
pub original_x: f64,
pub original_y: f64,
pub pinned: bool,
pub next: Option<String>,
}Expand description
One keyframe’s pose, as stored under node/<id> (whose value also carries an always-empty edges list).
original_* is the odometry pose it was added at, x/y its current corrected pose, and next the node
added after it on the same odometry chain.
Fields§
§id: String§canvas_id: String§frame: u32§x: f64§y: f64§original_x: f64§original_y: f64§pinned: bool§next: Option<String>Trait Implementations§
impl StructuralPartialEq for PoseNode
Auto Trait Implementations§
impl Freeze for PoseNode
impl RefUnwindSafe for PoseNode
impl Send for PoseNode
impl Sync for PoseNode
impl Unpin for PoseNode
impl UnsafeUnpin for PoseNode
impl UnwindSafe for PoseNode
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