Struct noodles_gtf::record::attributes::entry::Entry
source · pub struct Entry { /* private fields */ }
Expand description
A GTF record attribute entry.
Implementations§
source§impl Entry
impl Entry
sourcepub fn new<K, V>(key: K, value: V) -> Self
pub fn new<K, V>(key: K, value: V) -> Self
Creates a GTF record attribute entry.
§Examples
use noodles_gtf::record::attributes::Entry;
let entry = Entry::new("gene_id", "gene0");
Trait Implementations§
source§impl PartialEq for Entry
impl PartialEq for Entry
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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 Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.