pub struct RangeDef {
pub pos: Position,
pub start: Box<Expression>,
pub step: Option<Box<Expression>>,
pub end: Box<Expression>,
}
Expand description
RangeDef defines a range with optional step.
Fields§
§pos: Position
§start: Box<Expression>
§step: Option<Box<Expression>>
§end: Box<Expression>
Trait Implementations§
impl StructuralPartialEq for RangeDef
Auto Trait Implementations§
impl Freeze for RangeDef
impl RefUnwindSafe for RangeDef
impl !Send for RangeDef
impl !Sync for RangeDef
impl Unpin for RangeDef
impl UnwindSafe for RangeDef
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