#[repr(C)]pub struct pm_global_variable_read_node {
pub base: pm_node_t,
pub name: pm_constant_id_t,
}
Expand description
GlobalVariableReadNode
Represents referencing a global variable.
$foo
^^^^
Type: ::PM_GLOBAL_VARIABLE_READ_NODE
@extends pm_node_t
Fields§
§base: pm_node_t
The embedded base node.
name: pm_constant_id_t
GlobalVariableReadNode#name
The name of the global variable, which is a $
followed by an identifier. Alternatively, it can be one of the special global variables designated by a symbol.
$foo # name `:$foo`
$_Test # name `:$_Test`
Trait Implementations§
Source§impl Clone for pm_global_variable_read_node
impl Clone for pm_global_variable_read_node
Source§fn clone(&self) -> pm_global_variable_read_node
fn clone(&self) -> pm_global_variable_read_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 moreSource§impl Debug for pm_global_variable_read_node
impl Debug for pm_global_variable_read_node
impl Copy for pm_global_variable_read_node
Auto Trait Implementations§
impl Freeze for pm_global_variable_read_node
impl RefUnwindSafe for pm_global_variable_read_node
impl !Send for pm_global_variable_read_node
impl !Sync for pm_global_variable_read_node
impl Unpin for pm_global_variable_read_node
impl UnwindSafe for pm_global_variable_read_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