ResourceDefinitionEditor
struct · ferroui-designer · v0.5.0
struct ResourceDefinitionEditor
Members
new
fn new() -> Rc<Self>
control
fn control(self: &Self) -> Ref<Control>
on_command
fn on_command(self: &Self, callback: impl Fn(DefinitionEditorCommand) -> Result<(), String> + 'static)
show_error
fn show_error(self: &Self, error: Option<&str>)
configure
fn configure(self: &Rc<Self>, model: ResourceDefinitionModel)
configure_create
fn configure_create(self: &Rc<Self>, owners: Vec<(NodeId, String)>, writable: bool)
configure_external
fn configure_external(self: &Rc<Self>, title: &str, kind: ComponentKind, origin: Option<&str>, source: &str, owners: Vec<(NodeId, String)>, writable: bool)
Registered library sources are immutable. Copying creates an authored resource in the active document; the provider's original source is never rewritten.
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.