pub struct LuauObject {
pub gclist: *mut GcObject,
pub lclass: *mut LuauClass,
pub numberofmembers: c_int,
pub members: *mut TValue,
/* private fields */
}Fields§
§gclist: *mut GcObject§lclass: *mut LuauClassThe class object that this value is an instance of.
numberofmembers: c_intThe number of members that this instance contains. We need this in order to free ourselves if we got swept in the same GC cycle as our class pointer.
members: *mut TValueThe fields of this instance.
Implementations§
Source§impl LuauObject
impl LuauObject
pub const CommonHeader: () = ()
Trait Implementations§
Source§impl Clone for LuauObject
impl Clone for LuauObject
Source§fn clone(&self) -> LuauObject
fn clone(&self) -> LuauObject
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 LuauObject
Auto Trait Implementations§
impl !Send for LuauObject
impl !Sync for LuauObject
impl Freeze for LuauObject
impl RefUnwindSafe for LuauObject
impl Unpin for LuauObject
impl UnsafeUnpin for LuauObject
impl UnwindSafe for LuauObject
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