pub struct ConstantPathWriteNode<'pr> { /* private fields */ }Expand description
Represents writing to a constant path.
::Foo = 1
^^^^^^^^^Foo::Bar = 1
^^^^^^^^^^^^::Foo::Bar = 1
^^^^^^^^^^^^^^Implementationsยง
Sourceยงimpl<'pr> ConstantPathWriteNode<'pr>
impl<'pr> ConstantPathWriteNode<'pr>
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> !Send for ConstantPathWriteNode<'pr>
impl<'pr> !Sync for ConstantPathWriteNode<'pr>
impl<'pr> !UnwindSafe for ConstantPathWriteNode<'pr>
impl<'pr> Freeze for ConstantPathWriteNode<'pr>
impl<'pr> RefUnwindSafe for ConstantPathWriteNode<'pr>
impl<'pr> Unpin for ConstantPathWriteNode<'pr>
impl<'pr> UnsafeUnpin for ConstantPathWriteNode<'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