pub struct PositionRange {
pub start: u32,
pub end: u32,
}Fields§
§start: u32§end: u32Implementations§
Trait Implementations§
Source§impl Clone for PositionRange
impl Clone for PositionRange
Source§fn clone(&self) -> PositionRange
fn clone(&self) -> PositionRange
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 PositionRange
impl Debug for PositionRange
Source§impl Default for PositionRange
impl Default for PositionRange
Source§fn default() -> PositionRange
fn default() -> PositionRange
Returns the “default value” for a type. Read more
impl Copy for PositionRange
Auto Trait Implementations§
impl Freeze for PositionRange
impl RefUnwindSafe for PositionRange
impl Send for PositionRange
impl Sync for PositionRange
impl Unpin for PositionRange
impl UnwindSafe for PositionRange
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