pub struct EntityMethod<M: MethodCall> {
pub method: M,
}Expand description
Call a method on the currently selected client’s entity.
Fields§
§method: MAuto Trait Implementations§
impl<M> Freeze for EntityMethod<M>where
M: Freeze,
impl<M> RefUnwindSafe for EntityMethod<M>where
M: RefUnwindSafe,
impl<M> Send for EntityMethod<M>where
M: Send,
impl<M> Sync for EntityMethod<M>where
M: Sync,
impl<M> Unpin for EntityMethod<M>where
M: Unpin,
impl<M> UnwindSafe for EntityMethod<M>where
M: UnwindSafe,
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