[−][src]Struct codespan::ColumnOffset
A column offset in a source file
Trait Implementations
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 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 Clone for ColumnOffset
[src]
fn clone(&self) -> ColumnOffset
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ColumnOffset
[src]
impl Debug for ColumnOffset
[src]
impl Default for ColumnOffset
[src]
fn default() -> ColumnOffset
[src]
impl Display for ColumnOffset
[src]
impl Eq for ColumnOffset
[src]
impl From<ColumnOffset> for RawOffset
[src]
fn from(offset: ColumnOffset) -> RawOffset
[src]
impl From<ColumnOffset> for usize
[src]
fn from(offset: ColumnOffset) -> usize
[src]
impl From<i64> 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,
impl Neg for ColumnOffset
[src]
type Output = ColumnOffset
The resulting type after applying the -
operator.
fn neg(self) -> ColumnOffset
[src]
impl Offset for ColumnOffset
[src]
const ZERO: ColumnOffset
[src]
impl Ord for ColumnOffset
[src]
fn cmp(&self, other: &ColumnOffset) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ColumnOffset> for ColumnOffset
[src]
fn eq(&self, other: &ColumnOffset) -> bool
[src]
fn ne(&self, other: &ColumnOffset) -> bool
[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 StructuralEq for ColumnOffset
[src]
impl StructuralPartialEq for 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 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]
Auto Trait Implementations
impl RefUnwindSafe for ColumnOffset
impl Send for ColumnOffset
impl Sync for ColumnOffset
impl Unpin for ColumnOffset
impl UnwindSafe for ColumnOffset
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,