pub enum AmxExecIdx {
Main,
Continue,
UserDef(i32),
}Expand description
Identifier of the public function to execute via amx_Exec.
The values -1 (entry point main) and -2 (continue suspended execution)
are sentinels reserved by the VM. Indices >= 0 refer to public functions
resolved via amx_FindPublic.
Variants§
Trait Implementations§
Source§impl Clone for AmxExecIdx
impl Clone for AmxExecIdx
Source§fn clone(&self) -> AmxExecIdx
fn clone(&self) -> AmxExecIdx
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AmxExecIdx
Source§impl Debug for AmxExecIdx
impl Debug for AmxExecIdx
Source§impl From<i32> for AmxExecIdx
impl From<i32> for AmxExecIdx
Source§fn from(idx: i32) -> AmxExecIdx
fn from(idx: i32) -> AmxExecIdx
Converts to this type from the input type.
Source§impl PartialEq for AmxExecIdx
impl PartialEq for AmxExecIdx
impl StructuralPartialEq for AmxExecIdx
Auto Trait Implementations§
impl Freeze for AmxExecIdx
impl RefUnwindSafe for AmxExecIdx
impl Send for AmxExecIdx
impl Sync for AmxExecIdx
impl Unpin for AmxExecIdx
impl UnsafeUnpin for AmxExecIdx
impl UnwindSafe for AmxExecIdx
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