#[repr(C)]pub struct AnvilGameCommandsService {
pub size: u32,
pub post: Option<unsafe extern "C" fn(self_: *mut AnvilPlugin, command: *const AnvilGameCommand, out: *mut AnvilGameCommandResult) -> AnvilResult>,
}Fields§
§size: u32§post: Option<unsafe extern "C" fn(self_: *mut AnvilPlugin, command: *const AnvilGameCommand, out: *mut AnvilGameCommandResult) -> AnvilResult>Trait Implementations§
Source§impl Clone for AnvilGameCommandsService
impl Clone for AnvilGameCommandsService
impl Copy for AnvilGameCommandsService
Auto Trait Implementations§
impl Forget for AnvilGameCommandsService
impl Freeze for AnvilGameCommandsService
impl RefUnwindSafe for AnvilGameCommandsService
impl Send for AnvilGameCommandsService
impl Sync for AnvilGameCommandsService
impl Unpin for AnvilGameCommandsService
impl UnsafeUnpin for AnvilGameCommandsService
impl UnwindSafe for AnvilGameCommandsService
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