#[repr(C)]pub struct pm_or_node {
pub base: pm_node_t,
pub left: *mut pm_node,
pub right: *mut pm_node,
pub operator_loc: pm_location_t,
}Expand description
OrNode
Represents the use of the || operator or the or keyword.
left or right
^^^^^^^^^^^^^Type: ::PM_OR_NODE
@extends pm_node_t
Fields§
§base: pm_node_tThe embedded base node.
left: *mut pm_nodeOrNode#left
Represents the left side of the expression. It can be any non-void expression.
left or right
^^^^ 1 || 2
^right: *mut pm_nodeOrNode#right
Represents the right side of the expression.
left || right
^^^^^ 1 or 2
^operator_loc: pm_location_tOrNode#operator_loc
The location of the or keyword or the || operator.
left or right
^^Trait Implementations§
Source§impl Clone for pm_or_node
impl Clone for pm_or_node
Source§fn clone(&self) -> pm_or_node
fn clone(&self) -> pm_or_node
Returns a duplicate 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_or_node
impl Debug for pm_or_node
Source§impl Default for pm_or_node
impl Default for pm_or_node
impl Copy for pm_or_node
Auto Trait Implementations§
impl Freeze for pm_or_node
impl RefUnwindSafe for pm_or_node
impl !Send for pm_or_node
impl !Sync for pm_or_node
impl Unpin for pm_or_node
impl UnwindSafe for pm_or_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