pub struct ConstantPathOperatorWriteNode<'pr> { /* private fields */ }
Expand description
Represents assigning to a constant path using an operator that isn’t =
.
Parent::Child += value
^^^^^^^^^^^^^^^^^^^^^^
Implementations§
Source§impl<'pr> ConstantPathOperatorWriteNode<'pr>
impl<'pr> ConstantPathOperatorWriteNode<'pr>
Sourcepub fn flags(&self) -> pm_node_flags_t
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
Sourcepub fn target(&self) -> ConstantPathNode<'pr>
pub fn target(&self) -> ConstantPathNode<'pr>
Returns the target
param
Sourcepub fn binary_operator_loc(&self) -> Location<'pr>
pub fn binary_operator_loc(&self) -> Location<'pr>
Returns the binary_operator_loc
param
Sourcepub fn binary_operator(&self) -> ConstantId<'pr>
pub fn binary_operator(&self) -> ConstantId<'pr>
Returns the binary_operator
param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> Freeze for ConstantPathOperatorWriteNode<'pr>
impl<'pr> RefUnwindSafe for ConstantPathOperatorWriteNode<'pr>
impl<'pr> !Send for ConstantPathOperatorWriteNode<'pr>
impl<'pr> !Sync for ConstantPathOperatorWriteNode<'pr>
impl<'pr> Unpin for ConstantPathOperatorWriteNode<'pr>
impl<'pr> !UnwindSafe for ConstantPathOperatorWriteNode<'pr>
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