pub struct IfClause {
pub guard: Clauses<Sequence<GuardTest>>,
pub _arrow: SymbolToken,
pub body: Body,
}Expand description
Clauses<Sequence<GuardTest>> -> Body
Fields§
§guard: Clauses<Sequence<GuardTest>>§_arrow: SymbolToken§body: BodyTrait Implementations§
Source§impl PositionRange for IfClause
impl PositionRange for IfClause
Source§fn start_position(&self) -> Position
fn start_position(&self) -> Position
Returns the (inclusive) start position of this.
Source§fn end_position(&self) -> Position
fn end_position(&self) -> Position
Returns the (exclusive) end position of this.
Auto Trait Implementations§
impl Freeze for IfClause
impl RefUnwindSafe for IfClause
impl Send for IfClause
impl Sync for IfClause
impl Unpin for IfClause
impl UnwindSafe for IfClause
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