[][src]Struct bio::data_structures::annot_map::Entry

pub struct Entry<'a, R, T> where
    R: Eq + Hash
{ /* fields omitted */ }

A view of one annotation in a AnnotMap container.

Methods

impl<'a, R, T> Entry<'a, R, T> where
    R: Eq + Hash
[src]

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

Returns a reference to the data value in the AnnotMap.

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

Returns a reference to the interval spanned by the annotation.

pub fn refid(&self) -> &'a R[src]

Returns a reference to the identifier of the annotated reference sequence.

Trait Implementations

impl<'a, R: Clone, T: Clone> Clone for Entry<'a, R, T> where
    R: Eq + Hash
[src]

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

Performs copy-assignment from source. Read more

impl<'a, R: Debug, T: Debug> Debug for Entry<'a, R, T> where
    R: Eq + Hash
[src]

Auto Trait Implementations

impl<'a, R, T> Sync for Entry<'a, R, T> where
    R: Sync,
    T: Sync

impl<'a, R, T> Send for Entry<'a, R, T> where
    R: Sync,
    T: Sync

impl<'a, R, T> Unpin for Entry<'a, R, T>

impl<'a, R, T> RefUnwindSafe for Entry<'a, R, T> where
    R: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, R, T> UnwindSafe for Entry<'a, R, T> where
    R: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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]