#[repr(C)]pub struct pm_class_variable_operator_write_node {
pub base: pm_node_t,
pub name: pm_constant_id_t,
pub name_loc: pm_location_t,
pub binary_operator_loc: pm_location_t,
pub value: *mut pm_node,
pub binary_operator: pm_constant_id_t,
}Expand description
ClassVariableOperatorWriteNode
Represents assigning to a class variable using an operator that isn’t =.
@@target += value
^^^^^^^^^^^^^^^^^
Type: PM_CLASS_VARIABLE_OPERATOR_WRITE_NODE
@extends pm_node_t
Fields§
§base: pm_node_tThe embedded base node.
name: pm_constant_id_tClassVariableOperatorWriteNode#name
name_loc: pm_location_tClassVariableOperatorWriteNode#name_loc
binary_operator_loc: pm_location_tClassVariableOperatorWriteNode#binary_operator_loc
value: *mut pm_nodeClassVariableOperatorWriteNode#value
binary_operator: pm_constant_id_tClassVariableOperatorWriteNode#binary_operator
Trait Implementations§
source§impl Clone for pm_class_variable_operator_write_node
impl Clone for pm_class_variable_operator_write_node
source§fn clone(&self) -> pm_class_variable_operator_write_node
fn clone(&self) -> pm_class_variable_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_class_variable_operator_write_node
Auto Trait Implementations§
impl Freeze for pm_class_variable_operator_write_node
impl RefUnwindSafe for pm_class_variable_operator_write_node
impl !Send for pm_class_variable_operator_write_node
impl !Sync for pm_class_variable_operator_write_node
impl Unpin for pm_class_variable_operator_write_node
impl UnwindSafe for pm_class_variable_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)