pub struct MethodInfo {
pub name: String,
pub direct: bool,
pub doc: String,
}Expand description
A method’s attributes, from methods.
Fields§
§name: String§direct: boolDirect calls run immediately but draw on the per-tick call budget; others wait for the next server tick.
doc: StringTrait Implementations§
Source§impl Clone for MethodInfo
impl Clone for MethodInfo
Auto Trait Implementations§
impl Forget for MethodInfo
impl Freeze for MethodInfo
impl Move for MethodInfo
impl RefUnwindSafe for MethodInfo
impl Send for MethodInfo
impl Sync for MethodInfo
impl Unpin for MethodInfo
impl UnsafeUnpin for MethodInfo
impl UnwindSafe for MethodInfo
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