pub struct Jump {
pub from: u32,
pub to: Option<u32>,
}Expand description
A jump range, which can be expressed in multiple ways:
[a-b]means betweenaandb, inclusive.[-b]is equivalent to[0-b].[a-]meansaor more.[-]is equivalent to[0-].[a]is equivalent to[a-a].
Fields§
§from: u32Beginning of the range, included.
to: Option<u32>Optional end of the range, included.
Trait Implementations§
impl Eq for Jump
impl StructuralPartialEq for Jump
Auto Trait Implementations§
impl Freeze for Jump
impl RefUnwindSafe for Jump
impl Send for Jump
impl Sync for Jump
impl Unpin for Jump
impl UnwindSafe for Jump
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