pub struct RangeInfo {
pub start: Option<String>,
pub end: Option<String>,
pub inclusive: bool,
}Expand description
Information about a range expression.
Fields§
§start: Option<String>Start of range (or None for ..end)
end: Option<String>End of range (or None for start..)
inclusive: boolWhether the range is inclusive (..=)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RangeInfo
impl RefUnwindSafe for RangeInfo
impl Send for RangeInfo
impl Sync for RangeInfo
impl Unpin for RangeInfo
impl UnwindSafe for RangeInfo
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