Struct ruby_prism_sys::pm_node_list
source · #[repr(C)]pub struct pm_node_list {
pub size: usize,
pub capacity: usize,
pub nodes: *mut *mut pm_node,
}Expand description
A list of nodes in the source, most often used for lists of children.
Fields§
§size: usizeThe number of nodes in the list.
capacity: usizeThe capacity of the list that has been allocated.
nodes: *mut *mut pm_nodeThe nodes in the list.
Trait Implementations§
source§impl Clone for pm_node_list
impl Clone for pm_node_list
source§fn clone(&self) -> pm_node_list
fn clone(&self) -> pm_node_list
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_node_list
impl Debug for pm_node_list
source§impl Default for pm_node_list
impl Default for pm_node_list
impl Copy for pm_node_list
Auto Trait Implementations§
impl RefUnwindSafe for pm_node_list
impl !Send for pm_node_list
impl !Sync for pm_node_list
impl Unpin for pm_node_list
impl UnwindSafe for pm_node_list
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