pub struct ShareableConstantNode<'pr> { /* private fields */ }Expand description
This node wraps a constant write to indicate that when the value is written, it should have its shareability state modified.
# shareable_constant_value: literal
C = { a: 1 }
^^^^^^^^^^^^Implementationsยง
Sourcepub fn is_literal(&self) -> bool
pub fn is_literal(&self) -> bool
constant writes that should be modified with shareable constant value literal
Sourcepub fn is_experimental_everything(&self) -> bool
pub fn is_experimental_everything(&self) -> bool
constant writes that should be modified with shareable constant value experimental everything
Sourcepub fn is_experimental_copy(&self) -> bool
pub fn is_experimental_copy(&self) -> bool
constant writes that should be modified with shareable constant value experimental copy
Trait Implementationsยง
Auto Trait Implementationsยง
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