pub struct Assignment<T> {
pub lhs: Expression<T>,
pub value: Expression<T>,
pub position: Position,
pub info: T,
}Fields§
§lhs: Expression<T>§value: Expression<T>§position: Position§info: TImplementations§
Trait Implementations§
Source§impl<T: Clone> Clone for Assignment<T>
impl<T: Clone> Clone for Assignment<T>
Source§fn clone(&self) -> Assignment<T>
fn clone(&self) -> Assignment<T>
Returns a duplicate 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<T: Debug> Debug for Assignment<T>
impl<T: Debug> Debug for Assignment<T>
Source§impl<T: Ord> Ord for Assignment<T>
impl<T: Ord> Ord for Assignment<T>
Source§fn cmp(&self, other: &Assignment<T>) -> Ordering
fn cmp(&self, other: &Assignment<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq> PartialEq for Assignment<T>
impl<T: PartialEq> PartialEq for Assignment<T>
Source§impl<T: PartialOrd> PartialOrd for Assignment<T>
impl<T: PartialOrd> PartialOrd for Assignment<T>
impl<T: Eq> Eq for Assignment<T>
impl<T> StructuralPartialEq for Assignment<T>
Auto Trait Implementations§
impl<T> Freeze for Assignment<T>where
T: Freeze,
impl<T> RefUnwindSafe for Assignment<T>where
T: RefUnwindSafe,
impl<T> Send for Assignment<T>where
T: Send,
impl<T> Sync for Assignment<T>where
T: Sync,
impl<T> Unpin for Assignment<T>where
T: Unpin,
impl<T> UnwindSafe for Assignment<T>where
T: 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