#[non_exhaustive]pub enum AssignmentValue {
Integer(IntegerParameter),
}Available on crate feature
parse only.Expand description
A supported assignment expression, retained without evaluation.
Only integer-valued assignments are currently supported. The derivation language also allows boolean and type values, which may be supported later.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Integer(IntegerParameter)
An integer literal, parameter, or expression.
Trait Implementations§
Source§impl Clone for AssignmentValue
impl Clone for AssignmentValue
Source§impl Debug for AssignmentValue
impl Debug for AssignmentValue
Source§impl Display for AssignmentValue
impl Display for AssignmentValue
Source§impl PartialEq for AssignmentValue
impl PartialEq for AssignmentValue
impl StructuralPartialEq for AssignmentValue
Auto Trait Implementations§
impl Forget for AssignmentValue
impl Freeze for AssignmentValuewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const IntegerParameter is !null: Freeze,
PhantomData<IntegerParameter>: Freeze,
*const BooleanExpr is !null: Freeze,
PhantomData<BooleanExpr>: Freeze,
impl Move for AssignmentValue
impl RefUnwindSafe for AssignmentValue
impl Send for AssignmentValue
impl Sync for AssignmentValue
impl Unpin for AssignmentValue
impl UnsafeUnpin for AssignmentValuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const IntegerParameter is !null: UnsafeUnpin,
PhantomData<IntegerParameter>: UnsafeUnpin,
*const BooleanExpr is !null: UnsafeUnpin,
PhantomData<BooleanExpr>: UnsafeUnpin,
impl UnwindSafe for AssignmentValuewhere
RawVecInner: UnwindSafe,
BoxRaw<IntegerParameter>: UnwindSafe,
BoxRaw<BooleanExpr>: UnwindSafe,
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