#[repr(C)]pub struct pm_until_node {
pub base: pm_node_t,
pub keyword_loc: pm_location_t,
pub do_keyword_loc: pm_location_t,
pub closing_loc: pm_location_t,
pub predicate: *mut pm_node,
pub statements: *mut pm_statements_node,
}
Expand description
UntilNode
Represents the use of the until
keyword, either in the block form or the modifier form.
bar until foo
^^^^^^^^^^^^^
until foo do bar end
^^^^^^^^^^^^^^^^^^^^
Type: ::PM_UNTIL_NODE
Flags (#pm_loop_flags):
- ::PM_LOOP_FLAGS_BEGIN_MODIFIER
@extends pm_node_t
Fields§
§base: pm_node_t
The embedded base node.
keyword_loc: pm_location_t
UntilNode#keyword_loc
do_keyword_loc: pm_location_t
UntilNode#do_keyword_loc
closing_loc: pm_location_t
UntilNode#closing_loc
predicate: *mut pm_node
UntilNode#predicate
statements: *mut pm_statements_node
UntilNode#statements
Trait Implementations§
Source§impl Clone for pm_until_node
impl Clone for pm_until_node
Source§fn clone(&self) -> pm_until_node
fn clone(&self) -> pm_until_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_until_node
impl Debug for pm_until_node
Source§impl Default for pm_until_node
impl Default for pm_until_node
impl Copy for pm_until_node
Auto Trait Implementations§
impl Freeze for pm_until_node
impl RefUnwindSafe for pm_until_node
impl !Send for pm_until_node
impl !Sync for pm_until_node
impl Unpin for pm_until_node
impl UnwindSafe for pm_until_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