pub struct ScopeFunction {
pub id: usize,
pub max_variables: usize,
pub upvalues: Vec<UpvalueInfo>,
pub variadic: bool,
}Fields§
§id: usizeunique id for scope
max_variables: usizeTo calculate stack size.
upvalues: Vec<UpvalueInfo>§variadic: boolTrait Implementations§
Source§impl Clone for ScopeFunction
impl Clone for ScopeFunction
Source§fn clone(&self) -> ScopeFunction
fn clone(&self) -> ScopeFunction
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 moreAuto Trait Implementations§
impl Freeze for ScopeFunction
impl RefUnwindSafe for ScopeFunction
impl Send for ScopeFunction
impl Sync for ScopeFunction
impl Unpin for ScopeFunction
impl UnwindSafe for ScopeFunction
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