Struct bio::data_structures::interval_tree::EntryMut[][src]

pub struct EntryMut<'a, N: Ord + Clone, D> { /* fields omitted */ }

A find_mut query on the interval tree does not directly return references to the nodes in the tree, but wraps the fields interval and data in an EntryMut. Only the data part can be mutably accessed using the data method

Implementations

impl<'a, N: Ord + Clone + 'a, D: 'a> EntryMut<'a, N, D>[src]

pub fn data(&'a mut self) -> &'a mut D[src]

Get a mutable reference to the data for this entry

pub fn interval(&self) -> &'a Interval<N>[src]

Get a reference to the interval for this entry

Trait Implementations

impl<'a, N: Debug + Ord + Clone, D: Debug> Debug for EntryMut<'a, N, D>[src]

impl<'a, N: Eq + Ord + Clone, D: Eq> Eq for EntryMut<'a, N, D>[src]

impl<'a, N: PartialEq + Ord + Clone, D: PartialEq> PartialEq<EntryMut<'a, N, D>> for EntryMut<'a, N, D>[src]

impl<'a, N: Ord + Clone, D> StructuralEq for EntryMut<'a, N, D>[src]

impl<'a, N: Ord + Clone, D> StructuralPartialEq for EntryMut<'a, N, D>[src]

Auto Trait Implementations

impl<'a, N, D> RefUnwindSafe for EntryMut<'a, N, D> where
    D: RefUnwindSafe,
    N: RefUnwindSafe

impl<'a, N, D> Send for EntryMut<'a, N, D> where
    D: Send,
    N: Sync

impl<'a, N, D> Sync for EntryMut<'a, N, D> where
    D: Sync,
    N: Sync

impl<'a, N, D> Unpin for EntryMut<'a, N, D>

impl<'a, N, D> !UnwindSafe for EntryMut<'a, N, D>

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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<V, T> VZip<V> for T where
    V: MultiLane<T>,