PreviewStageMatrixEditor
struct · ferroui-designer · v0.5.0
struct PreviewStageMatrixEditor
Empty check-box groups retain the original stage's values. Applying requests a complete matrix only after the host verifies the source and board still match.
Members
new
fn new(base: PreviewStageConfiguration, document: Document, available: usize) -> Rc<Self>
control
fn control(self: &Self) -> Ref<Control>
on_apply
fn on_apply(self: &Self, apply: impl Fn(PreviewStageMatrix) -> Result<(), String> + 'static)
on_close
fn on_close(self: &Self, close: impl Fn() -> () + 'static)
retire
fn retire(self: &Self)
show_error
fn show_error(self: &Self, error: &str)
draft
fn draft(self: &Self) -> PreviewStageMatrix
apply
fn apply(self: &Self) -> Result<(), String>
cancel
fn cancel(self: &Self)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherSame
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.