pub struct VariableAssignment {
pub name: IdentifierAccess,
pub operator: String,
pub value: Expression,
}Fields§
§name: IdentifierAccess§operator: String§value: ExpressionImplementations§
Source§impl VariableAssignment
impl VariableAssignment
pub fn new( name: IdentifierAccess, op: String, value: Expression, ) -> VariableAssignment
pub fn is_valid(&self) -> bool
Trait Implementations§
Source§impl Clone for VariableAssignment
impl Clone for VariableAssignment
Source§fn clone(&self) -> VariableAssignment
fn clone(&self) -> VariableAssignment
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 VariableAssignment
impl Debug for VariableAssignment
Source§impl Default for VariableAssignment
impl Default for VariableAssignment
Source§fn default() -> VariableAssignment
fn default() -> VariableAssignment
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VariableAssignment
impl RefUnwindSafe for VariableAssignment
impl Send for VariableAssignment
impl Sync for VariableAssignment
impl Unpin for VariableAssignment
impl UnwindSafe for VariableAssignment
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