pub struct StepState {
pub kind: &'static str,
pub label: &'static str,
pub doc: &'static str,
pub id: Option<String>,
pub presentation: Presentation,
pub missing: Vec<String>,
pub error: Option<String>,
pub preview: bool,
pub can_undo: bool,
pub can_redo: bool,
}Expand description
The step being edited, as shown.
Fields§
§kind: &'static str§label: &'static str§doc: &'static str§id: Option<String>Its id — none yet, for a new step.
presentation: Presentation§missing: Vec<String>What it still needs picked, by its fields’ labels: until it has it, it is not built, and there is no error to show.
error: Option<String>Why it does not build, once it has what it needs; only a step that builds can be committed.
preview: bool§can_undo: boolWhether one of its edits can be undone, or redone.
can_redo: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for StepState
impl RefUnwindSafe for StepState
impl Send for StepState
impl Sync for StepState
impl Unpin for StepState
impl UnsafeUnpin for StepState
impl UnwindSafe for StepState
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