Struct brush_parser::ast::Assignment
source · pub struct Assignment {
pub name: AssignmentName,
pub value: AssignmentValue,
pub append: bool,
}Expand description
Encapsulates an assignment declaration.
Fields§
§name: AssignmentNameName being assigned to.
value: AssignmentValueValue being assigned.
append: boolWhether or not to append to the preexisting value associated with the named variable.
Trait Implementations§
source§impl Clone for Assignment
impl Clone for Assignment
source§fn clone(&self) -> Assignment
fn clone(&self) -> Assignment
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 moresource§impl Debug for Assignment
impl Debug for Assignment
Auto Trait Implementations§
impl Freeze for Assignment
impl RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl UnwindSafe for Assignment
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