Struct reproto_core::Loc [] [src]

pub struct Loc<T> { /* fields omitted */ }

Methods

impl<T> Loc<T>
[src]

[src]

[src]

[src]

[src]

Important traits for &'a mut W
[src]

[src]

[src]

[src]

[src]

Apply the fallible operation over the given location.

Trait Implementations

impl<T: Clone> Clone for Loc<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Serialize> Serialize for Loc<T>
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<T> PartialEq for Loc<T> where
    T: PartialEq
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<T> Eq for Loc<T> where
    T: Eq
[src]

impl<T> PartialOrd for Loc<T> where
    T: PartialOrd
[src]

[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

impl<T> Ord for Loc<T> where
    T: Ord,
    Self: PartialOrd + Eq
[src]

[src]

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

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl<T> Hash for Loc<T> where
    T: Hash
[src]

[src]

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

1.3.0
[src]

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

impl<T> Deref for Loc<T>
[src]

The resulting type after dereferencing.

Important traits for &'a mut W
[src]

Dereferences the value.

impl<T> DerefMut for Loc<T>
[src]

Important traits for &'a mut W
[src]

Mutably dereferences the value.

impl<T> AsMut<T> for Loc<T>
[src]

Important traits for &'a mut W
[src]

Performs the conversion.

impl<T> Borrow<T> for Loc<T>
[src]

Important traits for &'a mut W
[src]

Immutably borrows from an owned value. Read more

impl<T> Display for Loc<T> where
    T: Display
[src]

[src]

Formats the value using the given formatter. Read more

impl<T> Debug for Loc<T> where
    T: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a, T> From<&'a Loc<T>> for Span
[src]

[src]

Performs the conversion.

impl<T, I> Translate<T> for Loc<I> where
    I: Translate<T>,
    T: Translator<Source = I::Source>, 
[src]

[src]

Translate into different flavor.

Auto Trait Implementations

impl<T> Send for Loc<T> where
    T: Send

impl<T> Sync for Loc<T> where
    T: Sync