pub struct Assignment {
pub name: String,
pub value: AssignmentValue,
}Available on crate feature
parse only.Expand description
An assignment to a named parameter in a return derivation.
Fields§
§name: StringThe parameter being assigned.
value: AssignmentValueThe unevaluated expression assigned to the parameter.
Trait Implementations§
Source§impl Clone for Assignment
impl Clone for Assignment
Source§impl Debug for Assignment
impl Debug for Assignment
Source§impl PartialEq for Assignment
impl PartialEq for Assignment
impl StructuralPartialEq for Assignment
Auto Trait Implementations§
impl Forget for Assignment
impl Freeze for Assignmentwhere
*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 Assignment
impl RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl UnsafeUnpin for Assignmentwhere
*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 Assignmentwhere
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