PreviewPrototypeLinkEditor
struct · ferroui-designer · v0.5.0
struct PreviewPrototypeLinkEditor
Members
new
fn new(initial: Option<PreviewPrototypeLink>, source: Option<PreviewStageId>, stages: Vec<PreviewStageInfo>, elements: Vec<PreviewPrototypeElementChoice>) -> Rc<Self>
control
fn control(self: &Self) -> Ref<Control>
on_apply
fn on_apply(self: &Self, callback: impl Fn(PreviewPrototypeLink) -> Result<(), String> + 'static)
on_close
fn on_close(self: &Self, callback: impl Fn() -> () + 'static)
cancel
fn cancel(self: &Self)
retire
fn retire(self: &Self)
show_error
fn show_error(self: &Self, message: &str)
value
fn value(self: &Self) -> Result<PreviewPrototypeLink, String>
apply
fn apply(self: &Self) -> Result<(), String>
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.