Trait noodles_sam::alignment::record::Name

source ·
pub trait Name {
    // Required method
    fn as_bytes(&self) -> &[u8] ;

    // Provided method
    fn len(&self) -> usize { ... }
}
Expand description

An alignment record name.

Required Methods§

source

fn as_bytes(&self) -> &[u8]

Returns the name as a byte slice.

Provided Methods§

source

fn len(&self) -> usize

Returns the length.

Trait Implementations§

source§

impl Name for Box<dyn Name + '_>

source§

fn as_bytes(&self) -> &[u8]

Returns the name as a byte slice.
source§

fn len(&self) -> usize

Returns the length.

Implementations on Foreign Types§

source§

impl Name for Box<dyn Name + '_>

source§

fn as_bytes(&self) -> &[u8]

Implementors§

source§

impl Name for &noodles_sam::alignment::record_buf::Name

source§

impl<'a> Name for noodles_sam::record::Name<'a>