[−][src]Struct rls_span::Range
Fields
row_start: Row<I>row_end: Row<I>col_start: Column<I>col_end: Column<I>Implementations
impl<I: Indexed> Range<I>[src]
pub fn new(
row_start: Row<I>,
row_end: Row<I>,
col_start: Column<I>,
col_end: Column<I>
) -> Range<I>[src]
row_start: Row<I>,
row_end: Row<I>,
col_start: Column<I>,
col_end: Column<I>
) -> Range<I>
pub fn from_positions(start: Position<I>, end: Position<I>) -> Range<I>[src]
pub fn start(self) -> Position<I>[src]
pub fn end(self) -> Position<I>[src]
impl Range<OneIndexed>[src]
pub fn zero_indexed(self) -> Range<ZeroIndexed>[src]
impl Range<ZeroIndexed>[src]
pub fn one_indexed(self) -> Range<OneIndexed>[src]
Trait Implementations
impl<I: Indexed> Clone for Range<I>[src]
impl<I: Indexed> Copy for Range<I>[src]
impl<I: Debug + Indexed> Debug for Range<I>[src]
impl<I: Eq + Indexed> Eq for Range<I>[src]
impl<I: Hash + Indexed> Hash for Range<I>[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<I: Ord + Indexed> Ord for Range<I>[src]
pub fn cmp(&self, other: &Range<I>) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl<I: PartialEq + Indexed> PartialEq<Range<I>> for Range<I>[src]
impl<I: PartialOrd + Indexed> PartialOrd<Range<I>> for Range<I>[src]
pub fn partial_cmp(&self, other: &Range<I>) -> Option<Ordering>[src]
pub fn lt(&self, other: &Range<I>) -> bool[src]
pub fn le(&self, other: &Range<I>) -> bool[src]
pub fn gt(&self, other: &Range<I>) -> bool[src]
pub fn ge(&self, other: &Range<I>) -> bool[src]
impl<I: Indexed> StructuralEq for Range<I>[src]
impl<I: Indexed> StructuralPartialEq for Range<I>[src]
Auto Trait Implementations
impl<I> RefUnwindSafe for Range<I> where
I: RefUnwindSafe, [src]
I: RefUnwindSafe,
impl<I> Send for Range<I> where
I: Send, [src]
I: Send,
impl<I> Sync for Range<I> where
I: Sync, [src]
I: Sync,
impl<I> Unpin for Range<I> where
I: Unpin, [src]
I: Unpin,
impl<I> UnwindSafe for Range<I> where
I: UnwindSafe, [src]
I: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,