#[repr(C)]pub struct pm_shareable_constant_node {
pub base: pm_node_t,
pub write: *mut pm_node,
}
Expand description
ShareableConstantNode
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 }
^^^^^^^^^^^^
Type: ::PM_SHAREABLE_CONSTANT_NODE
Flags (#pm_shareable_constant_node_flags):
- ::PM_SHAREABLE_CONSTANT_NODE_FLAGS_LITERAL
- ::PM_SHAREABLE_CONSTANT_NODE_FLAGS_EXPERIMENTAL_EVERYTHING
- ::PM_SHAREABLE_CONSTANT_NODE_FLAGS_EXPERIMENTAL_COPY
@extends pm_node_t
Fields§
§base: pm_node_t
The embedded base node.
write: *mut pm_node
ShareableConstantNode#write
The constant write that should be modified with the shareability state.
Trait Implementations§
Source§fn clone(&self) -> pm_shareable_constant_node
fn clone(&self) -> pm_shareable_constant_node
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto 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