pub struct PageRange {
pub start: u32,
pub end: Option<u32>,
}Expand description
A --pages selection: 1-10, 3, 2-.
Fields§
§start: u32First page, 1-based and inclusive.
end: Option<u32>Last page, inclusive. None means “to the end”.
Implementations§
Trait Implementations§
impl Copy for PageRange
impl Eq for PageRange
impl StructuralPartialEq for PageRange
Auto Trait Implementations§
impl Forget for PageRange
impl Freeze for PageRange
impl Move for PageRange
impl RefUnwindSafe for PageRange
impl Send for PageRange
impl Sync for PageRange
impl Unpin for PageRange
impl UnsafeUnpin for PageRange
impl UnwindSafe for PageRange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.