#[repr(C)]pub struct pm_constant_path_operator_write_node {
pub base: pm_node_t,
pub target: *mut pm_constant_path_node,
pub binary_operator_loc: pm_location_t,
pub value: *mut pm_node,
pub binary_operator: pm_constant_id_t,
}
Expand description
ConstantPathOperatorWriteNode
Represents assigning to a constant path using an operator that isn’t =
.
Parent::Child += value
^^^^^^^^^^^^^^^^^^^^^^
Type: ::PM_CONSTANT_PATH_OPERATOR_WRITE_NODE
@extends pm_node_t
Fields§
§base: pm_node_t
The embedded base node.
target: *mut pm_constant_path_node
ConstantPathOperatorWriteNode#target
binary_operator_loc: pm_location_t
ConstantPathOperatorWriteNode#binary_operator_loc
value: *mut pm_node
ConstantPathOperatorWriteNode#value
binary_operator: pm_constant_id_t
ConstantPathOperatorWriteNode#binary_operator
Trait Implementations§
Source§impl Clone for pm_constant_path_operator_write_node
impl Clone for pm_constant_path_operator_write_node
Source§fn clone(&self) -> pm_constant_path_operator_write_node
fn clone(&self) -> pm_constant_path_operator_write_node
Returns a copy 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 moreimpl Copy for pm_constant_path_operator_write_node
Auto Trait Implementations§
impl Freeze for pm_constant_path_operator_write_node
impl RefUnwindSafe for pm_constant_path_operator_write_node
impl !Send for pm_constant_path_operator_write_node
impl !Sync for pm_constant_path_operator_write_node
impl Unpin for pm_constant_path_operator_write_node
impl UnwindSafe for pm_constant_path_operator_write_node
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