Struct codespan::ColumnOffset[][src]

pub struct ColumnOffset(pub RawOffset);

A column offset in a source file

Trait Implementations

impl Clone for ColumnOffset
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ColumnOffset
[src]

impl PartialEq for ColumnOffset
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ColumnOffset
[src]

impl Hash for ColumnOffset
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialOrd for ColumnOffset
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for ColumnOffset
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Default for ColumnOffset
[src]

Returns the "default value" for a type. Read more

impl Debug for ColumnOffset
[src]

Formats the value using the given formatter. Read more

impl Display for ColumnOffset
[src]

Formats the value using the given formatter. Read more

impl From<RawOffset> for ColumnOffset
[src]

Performs the conversion.

impl Offset for ColumnOffset
[src]

ZERO: ColumnOffset = ColumnOffset(0)

impl Add<ColumnOffset> for ColumnIndex
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl AddAssign<ColumnOffset> for ColumnIndex
[src]

Performs the += operation.

impl Neg for ColumnOffset
[src]

The resulting type after applying the - operator.

Performs the unary - operation.

impl Add<ColumnOffset> for ColumnOffset
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl AddAssign<ColumnOffset> for ColumnOffset
[src]

Performs the += operation.

impl Sub<ColumnOffset> for ColumnOffset
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl SubAssign<ColumnOffset> for ColumnOffset
[src]

Performs the -= operation.

impl Sub<ColumnOffset> for ColumnIndex
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl SubAssign<ColumnOffset> for ColumnIndex
[src]

Performs the -= operation.

Auto Trait Implementations