pub enum ShapeCallTarget {
Value(Value),
Expr(Expr),
}Expand description
What a call_shape invocation checks: a runtime value or an expr.
Variants§
Trait Implementations§
Source§impl Clone for ShapeCallTarget
impl Clone for ShapeCallTarget
Source§fn clone(&self) -> ShapeCallTarget
fn clone(&self) -> ShapeCallTarget
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ShapeCallTarget
impl !UnwindSafe for ShapeCallTarget
impl Freeze for ShapeCallTarget
impl Send for ShapeCallTarget
impl Sync for ShapeCallTarget
impl Unpin for ShapeCallTarget
impl UnsafeUnpin for ShapeCallTarget
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