pub struct ConstantPathOrWriteNode<'pr> { /* private fields */ }
Expand description
Represents the use of the ||=
operator for assignment to a constant path.
Parent::Child ||= value
^^^^^^^^^^^^^^^^^^^^^^^
Implementations§
Source§impl<'pr> ConstantPathOrWriteNode<'pr>
impl<'pr> ConstantPathOrWriteNode<'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 operator_loc(&self) -> Location<'pr>
pub fn operator_loc(&self) -> Location<'pr>
Returns the operator_loc
param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> Freeze for ConstantPathOrWriteNode<'pr>
impl<'pr> RefUnwindSafe for ConstantPathOrWriteNode<'pr>
impl<'pr> !Send for ConstantPathOrWriteNode<'pr>
impl<'pr> !Sync for ConstantPathOrWriteNode<'pr>
impl<'pr> Unpin for ConstantPathOrWriteNode<'pr>
impl<'pr> !UnwindSafe for ConstantPathOrWriteNode<'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