pub struct Action {
pub name: String,
pub owner: MRef,
pub input: Vec<(String, Value)>,
pub callback: fn(MRef, Vec<Type>),
}Fields§
§name: String§owner: MRef§input: Vec<(String, Value)>§callback: fn(MRef, Vec<Type>)Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl !Send for Action
impl !Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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