pub struct StepInfo {
pub id: u64,
pub scope: ScopeId,
pub label: Label,
pub origin: Origin,
pub group: Option<u64>,
pub place: Vec<Entry>,
pub at: f64,
pub in_progress: bool,
}Expand description
One step of a history, as the interface sees it.
Fields§
§id: u64Unique within its owner; never 0 (0 is “before the first step”).
scope: ScopeId§label: Label§origin: Origin§group: Option<u64>The group (an import, an agent’s request) it was made under.
place: Vec<Entry>The place of the context stack it was made in (ADR 0012), root first; empty at the root or when the owner does not know.
at: f64When it was made, in seconds of the owner’s clock.
in_progress: boolA gesture still going: not undoable yet.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StepInfo
impl<'de> Deserialize<'de> for StepInfo
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 StructuralPartialEq for StepInfo
Auto Trait Implementations§
impl Freeze for StepInfo
impl RefUnwindSafe for StepInfo
impl Send for StepInfo
impl Sync for StepInfo
impl Unpin for StepInfo
impl UnsafeUnpin for StepInfo
impl UnwindSafe for StepInfo
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