[][src]Struct xi_rope::spans::SpansInfo

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

Trait Implementations

impl<T: Clone> NodeInfo for SpansInfo<T>[src]

type L = SpansLeaf<T>

The type of the leaf. Read more

fn identity() -> Self[src]

The identity of the monoid. Need not be implemented because it can be computed from the leaf default. Read more

fn interval(&self, len: usize) -> Interval[src]

The interval covered by the first len base units of this node. The default impl is sufficient for most types, but interval trees may need to override it. Read more

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

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

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

impl<T> Unpin for SpansInfo<T> where
    T: Unpin

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

impl<T> RefUnwindSafe for SpansInfo<T> where
    T: RefUnwindSafe

impl<T> UnwindSafe for SpansInfo<T> where
    T: UnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]