Enum go_vm::types::UpValueState
source · pub enum UpValueState {
Open(ValueDesc),
Closed(GosValue),
}
Variants§
Trait Implementations§
source§impl Clone for UpValueState
impl Clone for UpValueState
source§fn clone(&self) -> UpValueState
fn clone(&self) -> UpValueState
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 moresource§impl Debug for UpValueState
impl Debug for UpValueState
source§impl PartialEq<UpValueState> for UpValueState
impl PartialEq<UpValueState> for UpValueState
source§fn eq(&self, other: &UpValueState) -> bool
fn eq(&self, other: &UpValueState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UpValueState
impl StructuralEq for UpValueState
impl StructuralPartialEq for UpValueState
Auto Trait Implementations§
impl !RefUnwindSafe for UpValueState
impl !Send for UpValueState
impl !Sync for UpValueState
impl Unpin for UpValueState
impl !UnwindSafe for UpValueState
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