pub struct ConstantTargetNode<'pr> { /* private fields */ }Expand description
Represents writing to a constant in a context that doesn’t have an explicit value.
Foo, Bar = baz
^^^  ^^^Implementations§
Source§impl<'pr> ConstantTargetNode<'pr>
 
impl<'pr> ConstantTargetNode<'pr>
Sourcepub fn name(&self) -> ConstantId<'pr>
 
pub fn name(&self) -> ConstantId<'pr>
Returns the name param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> Freeze for ConstantTargetNode<'pr>
impl<'pr> RefUnwindSafe for ConstantTargetNode<'pr>
impl<'pr> !Send for ConstantTargetNode<'pr>
impl<'pr> !Sync for ConstantTargetNode<'pr>
impl<'pr> Unpin for ConstantTargetNode<'pr>
impl<'pr> !UnwindSafe for ConstantTargetNode<'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