#[repr(C)]pub struct pm_constant_path_target_node {
pub base: pm_node_t,
pub parent: *mut pm_node,
pub name: pm_constant_id_t,
pub delimiter_loc: pm_location_t,
pub name_loc: pm_location_t,
}
Expand description
ConstantPathTargetNode
Represents writing to a constant path in a context that doesn’t have an explicit value.
Foo::Foo, Bar::Bar = baz
^^^^^^^^ ^^^^^^^^
Type: ::PM_CONSTANT_PATH_TARGET_NODE
@extends pm_node_t
Fields§
§base: pm_node_t
The embedded base node.
parent: *mut pm_node
ConstantPathTargetNode#parent
name: pm_constant_id_t
ConstantPathTargetNode#name
delimiter_loc: pm_location_t
ConstantPathTargetNode#delimiter_loc
name_loc: pm_location_t
ConstantPathTargetNode#name_loc
Trait Implementations§
Source§impl Clone for pm_constant_path_target_node
impl Clone for pm_constant_path_target_node
Source§fn clone(&self) -> pm_constant_path_target_node
fn clone(&self) -> pm_constant_path_target_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_constant_path_target_node
impl Debug for pm_constant_path_target_node
impl Copy for pm_constant_path_target_node
Auto Trait Implementations§
impl Freeze for pm_constant_path_target_node
impl RefUnwindSafe for pm_constant_path_target_node
impl !Send for pm_constant_path_target_node
impl !Sync for pm_constant_path_target_node
impl Unpin for pm_constant_path_target_node
impl UnwindSafe for pm_constant_path_target_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