pub struct Jump {
pub redo: bool,
pub count: usize,
}Expand description
A jump, as undos or redos.
Fields§
§redo: boolRedos (the step is ahead), else undos.
count: usizeHow many (0: already there).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Jump
impl<'de> Deserialize<'de> for Jump
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Jump
impl Eq for Jump
impl StructuralPartialEq for Jump
Auto Trait Implementations§
impl Freeze for Jump
impl RefUnwindSafe for Jump
impl Send for Jump
impl Sync for Jump
impl Unpin for Jump
impl UnsafeUnpin for Jump
impl UnwindSafe for Jump
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