pub enum CompiledObjEntry {
Short(Arc<str>),
Kv {
key: Arc<str>,
prog: Arc<Program>,
optional: bool,
cond: Option<Arc<Program>>,
},
Dynamic {
key: Arc<Program>,
val: Arc<Program>,
},
Spread(Arc<Program>),
SpreadDeep(Arc<Program>),
}Expand description
A compiled object field for Opcode::MakeObj.
Variants§
Trait Implementations§
Source§impl Clone for CompiledObjEntry
impl Clone for CompiledObjEntry
Source§fn clone(&self) -> CompiledObjEntry
fn clone(&self) -> CompiledObjEntry
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 CompiledObjEntry
impl RefUnwindSafe for CompiledObjEntry
impl Send for CompiledObjEntry
impl Sync for CompiledObjEntry
impl Unpin for CompiledObjEntry
impl UnsafeUnpin for CompiledObjEntry
impl UnwindSafe for CompiledObjEntry
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