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 flags(&self) -> pm_node_flags_t
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
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