Enum mlua::DebugEvent
source · pub enum DebugEvent {
Call,
Ret,
TailCall,
Line,
Count,
Unknown(c_int),
}
Expand description
Represents a specific event that triggered the hook.
Variants§
Trait Implementations§
source§impl Clone for DebugEvent
impl Clone for DebugEvent
source§fn clone(&self) -> DebugEvent
fn clone(&self) -> DebugEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DebugEvent
impl Debug for DebugEvent
source§impl PartialEq<DebugEvent> for DebugEvent
impl PartialEq<DebugEvent> for DebugEvent
source§fn eq(&self, other: &DebugEvent) -> bool
fn eq(&self, other: &DebugEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DebugEvent
impl Eq for DebugEvent
impl StructuralEq for DebugEvent
impl StructuralPartialEq for DebugEvent
Auto Trait Implementations§
impl RefUnwindSafe for DebugEvent
impl Send for DebugEvent
impl Sync for DebugEvent
impl Unpin for DebugEvent
impl UnwindSafe for DebugEvent
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