pub struct AssignOpToken {
pub op: AssignOp,
pub span: Span,
}Expand description
An assignment operator with its span.
Fields§
§op: AssignOp§span: SpanTrait Implementations§
Source§impl Clone for AssignOpToken
impl Clone for AssignOpToken
Source§fn clone(&self) -> AssignOpToken
fn clone(&self) -> AssignOpToken
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssignOpToken
impl Debug for AssignOpToken
impl Eq for AssignOpToken
Source§impl Hash for AssignOpToken
impl Hash for AssignOpToken
Source§impl PartialEq for AssignOpToken
impl PartialEq for AssignOpToken
Source§fn eq(&self, other: &AssignOpToken) -> bool
fn eq(&self, other: &AssignOpToken) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssignOpToken
Auto Trait Implementations§
impl Freeze for AssignOpToken
impl RefUnwindSafe for AssignOpToken
impl Send for AssignOpToken
impl Sync for AssignOpToken
impl Unpin for AssignOpToken
impl UnsafeUnpin for AssignOpToken
impl UnwindSafe for AssignOpToken
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