pub struct TimePiece {
pub from: i64,
pub to: i64,
pub motion: PieceMotion,
pub jumps_in: bool,
pub jumps_out: bool,
/* private fields */
}Expand description
A span of a time curve over which the source time moves along one key segment of one pass.
Fields§
§from: i64Its first tick; i64::MIN when it reaches back without end.
to: i64One past its last tick; i64::MAX when it goes on without end.
motion: PieceMotionHow the source time moves over it.
jumps_in: boolWhether the source time jumps where the piece starts: a repeat end starts over there.
jumps_out: boolWhether the source time jumps where the piece ends.
Trait Implementations§
impl Copy for TimePiece
impl StructuralPartialEq for TimePiece
Auto Trait Implementations§
impl Forget for TimePiece
impl Freeze for TimePiece
impl Move for TimePiece
impl RefUnwindSafe for TimePiece
impl Send for TimePiece
impl Sync for TimePiece
impl Unpin for TimePiece
impl UnsafeUnpin for TimePiece
impl UnwindSafe for TimePiece
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