Enum jrsonnet_evaluator::MaybeUnbound
source · Expand description
Object fields may, or may not depend on this
/super
, this enum allows cheaper reuse of object-independent fields for native code
Standard jsonnet fields are always unbound
Variants§
Unbound(Cc<TraceBox<dyn Unbound<Bound = Val>>>)
Value needs to be bound to this
/super
Bound(Thunk<Val>)
Value is object-independent
Implementations§
Trait Implementations§
source§impl Clone for MaybeUnbound
impl Clone for MaybeUnbound
source§fn clone(&self) -> MaybeUnbound
fn clone(&self) -> MaybeUnbound
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 more