Struct ruby_prism_sys::pm_module_node
source · #[repr(C)]pub struct pm_module_node {
pub base: pm_node_t,
pub locals: pm_constant_id_list_t,
pub module_keyword_loc: pm_location_t,
pub constant_path: *mut pm_node,
pub body: *mut pm_node,
pub end_keyword_loc: pm_location_t,
pub name: pm_constant_id_t,
}Expand description
ModuleNode
Type: PM_MODULE_NODE
@extends pm_node_t
Fields§
§base: pm_node_tThe embedded base node.
locals: pm_constant_id_list_tModuleNode#locals
module_keyword_loc: pm_location_tModuleNode#module_keyword_loc
constant_path: *mut pm_nodeModuleNode#constant_path
body: *mut pm_nodeModuleNode#body
end_keyword_loc: pm_location_tModuleNode#end_keyword_loc
name: pm_constant_id_tModuleNode#name
Trait Implementations§
source§impl Clone for pm_module_node
impl Clone for pm_module_node
source§fn clone(&self) -> pm_module_node
fn clone(&self) -> pm_module_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_module_node
impl Debug for pm_module_node
source§impl Default for pm_module_node
impl Default for pm_module_node
impl Copy for pm_module_node
Auto Trait Implementations§
impl RefUnwindSafe for pm_module_node
impl !Send for pm_module_node
impl !Sync for pm_module_node
impl Unpin for pm_module_node
impl UnwindSafe for pm_module_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