pub struct ActionDescriptor {
pub id: &'static str,
pub label: &'static str,
}Expand description
An action a model declares.
The Parameters panel draws a button per entry, and henad-cli schedules an action with --act.
Fields§
§id: &'static strStable name that --act matches on.
label: &'static strButton label.
Implementations§
Trait Implementations§
Source§impl Clone for ActionDescriptor
impl Clone for ActionDescriptor
impl Copy for ActionDescriptor
Source§impl Debug for ActionDescriptor
impl Debug for ActionDescriptor
impl Eq for ActionDescriptor
Source§impl PartialEq for ActionDescriptor
impl PartialEq for ActionDescriptor
impl StructuralPartialEq for ActionDescriptor
Auto Trait Implementations§
impl Freeze for ActionDescriptor
impl RefUnwindSafe for ActionDescriptor
impl Send for ActionDescriptor
impl Sync for ActionDescriptor
impl Unpin for ActionDescriptor
impl UnsafeUnpin for ActionDescriptor
impl UnwindSafe for ActionDescriptor
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