Struct lib_ruby_parser::nodes::Break
source · #[repr(C)]pub struct Break {
pub args: Vec<Node>,
pub keyword_l: Loc,
pub expression_l: Loc,
}
Expand description
Represents a break
keyword (with optional argument)
Fields§
§args: Vec<Node>
A list of arguments
keyword_l: Loc
Location of the break
keyword
break :foo
~~~~~
expression_l: Loc
Location of the full expression
break(:foo)
~~~~~~~~~~~
Trait Implementations§
source§impl PartialEq for Break
impl PartialEq for Break
impl StructuralPartialEq for Break
Auto Trait Implementations§
impl Freeze for Break
impl RefUnwindSafe for Break
impl Send for Break
impl Sync for Break
impl Unpin for Break
impl UnwindSafe for Break
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