[−][src]Struct codespan::ColumnOffset
A column offset in a source file
Trait Implementations
impl Offset for ColumnOffset
[src]
const ZERO: ColumnOffset
[src]
impl PartialEq<ColumnOffset> for ColumnOffset
[src]
fn eq(&self, other: &ColumnOffset) -> bool
[src]
fn ne(&self, other: &ColumnOffset) -> bool
[src]
impl Default for ColumnOffset
[src]
fn default() -> ColumnOffset
[src]
impl Ord for ColumnOffset
[src]
fn cmp(&self, other: &ColumnOffset) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl Clone for ColumnOffset
[src]
fn clone(&self) -> ColumnOffset
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<i64> for ColumnOffset
[src]
impl Eq for ColumnOffset
[src]
impl Copy for ColumnOffset
[src]
impl PartialOrd<ColumnOffset> for ColumnOffset
[src]
fn partial_cmp(&self, other: &ColumnOffset) -> Option<Ordering>
[src]
fn lt(&self, other: &ColumnOffset) -> bool
[src]
fn le(&self, other: &ColumnOffset) -> bool
[src]
fn gt(&self, other: &ColumnOffset) -> bool
[src]
fn ge(&self, other: &ColumnOffset) -> bool
[src]
impl Display for ColumnOffset
[src]
impl Hash for ColumnOffset
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Add<ColumnOffset> for ColumnIndex
[src]
type Output = ColumnIndex
The resulting type after applying the +
operator.
fn add(self, rhs: ColumnOffset) -> ColumnIndex
[src]
impl Add<ColumnOffset> for ColumnOffset
[src]
type Output = ColumnOffset
The resulting type after applying the +
operator.
fn add(self, rhs: ColumnOffset) -> ColumnOffset
[src]
impl Sub<ColumnOffset> for ColumnOffset
[src]
type Output = ColumnOffset
The resulting type after applying the -
operator.
fn sub(self, rhs: ColumnOffset) -> ColumnOffset
[src]
impl Sub<ColumnOffset> for ColumnIndex
[src]
type Output = ColumnIndex
The resulting type after applying the -
operator.
fn sub(self, rhs: ColumnOffset) -> ColumnIndex
[src]
impl Neg for ColumnOffset
[src]
type Output = ColumnOffset
The resulting type after applying the -
operator.
fn neg(self) -> ColumnOffset
[src]
impl AddAssign<ColumnOffset> for ColumnIndex
[src]
fn add_assign(&mut self, rhs: ColumnOffset)
[src]
impl AddAssign<ColumnOffset> for ColumnOffset
[src]
fn add_assign(&mut self, rhs: ColumnOffset)
[src]
impl SubAssign<ColumnOffset> for ColumnOffset
[src]
fn sub_assign(&mut self, rhs: ColumnOffset)
[src]
impl SubAssign<ColumnOffset> for ColumnIndex
[src]
fn sub_assign(&mut self, rhs: ColumnOffset)
[src]
impl Debug for ColumnOffset
[src]
Auto Trait Implementations
impl Send for ColumnOffset
impl Sync for ColumnOffset
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,