Struct lib_ruby_parser_nodes::Node
source · pub struct Node {
pub camelcase_name: &'static str,
pub wqp_name: &'static str,
pub fields: &'static [&'static NodeField],
pub comment: &'static [&'static str],
}
Fields§
§camelcase_name: &'static str
§wqp_name: &'static str
§fields: &'static [&'static NodeField]
§comment: &'static [&'static str]
Implementations§
source§impl Node
impl Node
pub fn upper_name(&self) -> String
pub fn lower_name(&self) -> String
Trait Implementations§
source§impl Ord for Node
impl Ord for Node
source§impl PartialEq for Node
impl PartialEq for Node
source§impl PartialOrd for Node
impl PartialOrd for Node
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for 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