[−][src]Struct xi_rope::spans::SpansInfo
Trait Implementations
impl<T: Clone> NodeInfo for SpansInfo<T>
[src]
type L = SpansLeaf<T>
The type of the leaf. Read more
fn accumulate(&mut self, other: &Self)
[src]
fn compute_info(l: &SpansLeaf<T>) -> Self
[src]
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]
Auto Trait Implementations
impl<T> Sync for SpansInfo<T> where
T: Sync,
T: Sync,
impl<T> Unpin for SpansInfo<T> where
T: Unpin,
T: Unpin,
impl<T> Send for SpansInfo<T> where
T: Send,
T: Send,
impl<T> RefUnwindSafe for SpansInfo<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> UnwindSafe for SpansInfo<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,