pub struct DebugStack {
pub num_ups: u8,
pub num_params: u8,
pub is_vararg: bool,
}
Fields§
§num_ups: u8
Number of upvalues.
num_params: u8
Available on crate features
lua54
or lua53
or lua52
or luau
only.Number of parameters.
is_vararg: bool
Available on crate features
lua54
or lua53
or lua52
or luau
only.Whether the function is a vararg function.
Trait Implementations§
Source§impl Clone for DebugStack
impl Clone for DebugStack
Source§fn clone(&self) -> DebugStack
fn clone(&self) -> DebugStack
Returns a duplicate 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 DebugStack
impl Debug for DebugStack
impl Copy for DebugStack
Auto Trait Implementations§
impl Freeze for DebugStack
impl RefUnwindSafe for DebugStack
impl Send for DebugStack
impl Sync for DebugStack
impl Unpin for DebugStack
impl UnwindSafe for DebugStack
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more