pub struct BinaryNode {
pub start: Location,
/* private fields */
}
Expand description
This represents a binary node, typically used in expressions such as A + B.
Fields§
§start: Location
This is the location of the node, usually that of the operator.
Trait Implementations§
Source§impl Clone for BinaryNode
impl Clone for BinaryNode
Source§fn clone(&self) -> BinaryNode
fn clone(&self) -> BinaryNode
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 Debug for BinaryNode
impl Debug for BinaryNode
Source§impl Display for BinaryNode
impl Display for BinaryNode
Source§impl PartialEq for BinaryNode
impl PartialEq for BinaryNode
impl StructuralPartialEq for BinaryNode
Auto Trait Implementations§
impl Freeze for BinaryNode
impl RefUnwindSafe for BinaryNode
impl Send for BinaryNode
impl Sync for BinaryNode
impl Unpin for BinaryNode
impl UnwindSafe for BinaryNode
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