pub enum MethodDispatch {
Infer,
Colon,
Factorio,
StorageGet,
StorageSet,
SettingsGet,
}Variants§
Infer
Colon
User / metatable / data:extend-style: recv:method(args).
Factorio
Factorio LuaObject: attribute reads, setters, and .method(args).
StorageGet
storage[key]
StorageSet
storage[key] = value
SettingsGet
Mod-settings: recv[key].value (or recv[key] for .setting).
Trait Implementations§
Source§impl Clone for MethodDispatch
impl Clone for MethodDispatch
Source§fn clone(&self) -> MethodDispatch
fn clone(&self) -> MethodDispatch
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 MethodDispatch
Source§impl Debug for MethodDispatch
impl Debug for MethodDispatch
Source§impl Default for MethodDispatch
impl Default for MethodDispatch
Source§fn default() -> MethodDispatch
fn default() -> MethodDispatch
Returns the “default value” for a type. Read more
impl Eq for MethodDispatch
Source§impl PartialEq for MethodDispatch
impl PartialEq for MethodDispatch
impl StructuralPartialEq for MethodDispatch
Auto Trait Implementations§
impl Freeze for MethodDispatch
impl RefUnwindSafe for MethodDispatch
impl Send for MethodDispatch
impl Sync for MethodDispatch
impl Unpin for MethodDispatch
impl UnsafeUnpin for MethodDispatch
impl UnwindSafe for MethodDispatch
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