Struct bio::data_structures::annot_map::Entry
source · pub struct Entry<'a, R, T>where
R: Eq + Hash,{ /* private fields */ }
Expand description
A view of one annotation in a AnnotMap
container.
Implementations§
Trait Implementations§
source§impl<'a, R, T: PartialEq> PartialEq<Entry<'a, R, T>> for Entry<'a, R, T>where
R: Eq + Hash + PartialEq,
impl<'a, R, T: PartialEq> PartialEq<Entry<'a, R, T>> for Entry<'a, R, T>where R: Eq + Hash + PartialEq,
impl<'a, R, T: Copy> Copy for Entry<'a, R, T>where R: Eq + Hash + Copy,
impl<'a, R, T: Eq> Eq for Entry<'a, R, T>where R: Eq + Hash + Eq,
impl<'a, R, T> StructuralEq for Entry<'a, R, T>where R: Eq + Hash,
impl<'a, R, T> StructuralPartialEq for Entry<'a, R, T>where R: Eq + Hash,
Auto Trait Implementations§
impl<'a, R, T> RefUnwindSafe for Entry<'a, R, T>where R: RefUnwindSafe, T: RefUnwindSafe,
impl<'a, R, T> Send for Entry<'a, R, T>where R: Sync, T: Sync,
impl<'a, R, T> Sync for Entry<'a, R, T>where R: Sync, T: Sync,
impl<'a, R, T> Unpin for Entry<'a, R, T>
impl<'a, R, T> UnwindSafe for Entry<'a, R, T>where R: RefUnwindSafe, T: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.