pub(crate) struct ShortRange {
pub(crate) start: u32,
pub(crate) end: u32,
}
Expand description
A short range.
Just like Range, but only for u32
and copyable.
Fields§
§start: u32
§end: u32
Implementations§
Trait Implementations§
Source§impl Clone for ShortRange
impl Clone for ShortRange
Source§fn clone(&self) -> ShortRange
fn clone(&self) -> ShortRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ShortRange
impl Debug for ShortRange
impl Copy for ShortRange
Auto Trait Implementations§
impl Freeze for ShortRange
impl RefUnwindSafe for ShortRange
impl Send for ShortRange
impl Sync for ShortRange
impl Unpin for ShortRange
impl UnwindSafe for ShortRange
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