pub struct GcGenParams {
pub minor_multiplier: u32,
pub major_multiplier: u32,
}Expand description
Parameters for a generational GC, mirroring mlua::state::GcGenParams.
DEVIATION: Luau has no generational GC; this exists only for signature parity with mlua’s Lua 5.4/5.5 surface and is never honored by the VM.
Fields§
§minor_multiplier: u32§major_multiplier: u32Trait Implementations§
Source§impl Clone for GcGenParams
impl Clone for GcGenParams
Source§fn clone(&self) -> GcGenParams
fn clone(&self) -> GcGenParams
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 GcGenParams
Source§impl Debug for GcGenParams
impl Debug for GcGenParams
Source§impl Default for GcGenParams
impl Default for GcGenParams
Source§fn default() -> GcGenParams
fn default() -> GcGenParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GcGenParams
impl RefUnwindSafe for GcGenParams
impl Send for GcGenParams
impl Sync for GcGenParams
impl Unpin for GcGenParams
impl UnsafeUnpin for GcGenParams
impl UnwindSafe for GcGenParams
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