pub enum LuaEventType {
CustomEventPrototype(LuaCustomEventPrototype),
CustomInputPrototype(LuaCustomInputPrototype),
Name(&'static str),
Name2(&'static str),
}Expand description
Event name may be specified in one of four ways.
Variants§
CustomEventPrototype(LuaCustomEventPrototype)
CustomInputPrototype(LuaCustomInputPrototype)
Name(&'static str)
Name2(&'static str)
Trait Implementations§
Source§impl Clone for LuaEventType
impl Clone for LuaEventType
Source§fn clone(&self) -> LuaEventType
fn clone(&self) -> LuaEventType
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 LuaEventType
Source§impl Debug for LuaEventType
impl Debug for LuaEventType
Source§impl Default for LuaEventType
impl Default for LuaEventType
Source§impl From<&'static str> for LuaEventType
impl From<&'static str> for LuaEventType
Source§impl From<LuaCustomEventPrototype> for LuaEventType
impl From<LuaCustomEventPrototype> for LuaEventType
Source§fn from(value: LuaCustomEventPrototype) -> Self
fn from(value: LuaCustomEventPrototype) -> Self
Converts to this type from the input type.
Source§impl From<LuaCustomInputPrototype> for LuaEventType
impl From<LuaCustomInputPrototype> for LuaEventType
Source§fn from(value: LuaCustomInputPrototype) -> Self
fn from(value: LuaCustomInputPrototype) -> Self
Converts to this type from the input type.
Source§impl From<LuaEventType> for LuaAny
impl From<LuaEventType> for LuaAny
Source§fn from(_: LuaEventType) -> Self
fn from(_: LuaEventType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LuaEventType
impl PartialEq for LuaEventType
impl StructuralPartialEq for LuaEventType
Auto Trait Implementations§
impl Freeze for LuaEventType
impl RefUnwindSafe for LuaEventType
impl Send for LuaEventType
impl Sync for LuaEventType
impl Unpin for LuaEventType
impl UnsafeUnpin for LuaEventType
impl UnwindSafe for LuaEventType
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