pub struct RemoteAction {
pub name: &'static str,
pub path: &'static str,
pub answered_by: fn(Scope) -> bool,
pub emit: Emit,
}Expand description
An action a tool may send, registered by the derive.
Fields§
§name: &'static strThe type’s name, without its path.
path: &'static strThe type’s module path and name.
answered_by: fn(Scope) -> boolWhether a scope answers it.
emit: EmitTrait Implementations§
impl Collect for RemoteAction
Auto Trait Implementations§
impl Freeze for RemoteAction
impl RefUnwindSafe for RemoteAction
impl Send for RemoteAction
impl Sync for RemoteAction
impl Unpin for RemoteAction
impl UnsafeUnpin for RemoteAction
impl UnwindSafe for RemoteAction
Blanket Implementations§
impl<M> AllowedSignal<M> for Mwhere
M: 'static,
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