pub struct HeapObject {
pub value: Value,
pub marked: bool,
}Fields§
§value: Value§marked: boolImplementations§
Trait Implementations§
Source§impl Clone for HeapObject
impl Clone for HeapObject
Source§fn clone(&self) -> HeapObject
fn clone(&self) -> HeapObject
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 moreAuto Trait Implementations§
impl Freeze for HeapObject
impl RefUnwindSafe for HeapObject
impl Send for HeapObject
impl Sync for HeapObject
impl Unpin for HeapObject
impl UnwindSafe for HeapObject
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