pub struct Record<const N: usize>(/* private fields */);
Expand description
A BED record.
Implementations§
source§impl<const N: usize> Record<N>
impl<const N: usize> Record<N>
sourcepub const fn standard_field_count(&self) -> usize
pub const fn standard_field_count(&self) -> usize
Returns the number of standard fields.
sourcepub fn other_fields(&self) -> OtherFields<'_, N>
pub fn other_fields(&self) -> OtherFields<'_, N>
Returns the other fields.
source§impl Record<3>
impl Record<3>
sourcepub fn reference_sequence_name(&self) -> &BStr
pub fn reference_sequence_name(&self) -> &BStr
Returns the reference sequence name.
sourcepub fn feature_start(&self) -> Result<Position>
pub fn feature_start(&self) -> Result<Position>
Returns the feature start.
sourcepub fn feature_end(&self) -> Option<Result<Position>>
pub fn feature_end(&self) -> Option<Result<Position>>
Returns the feature end.
source§impl Record<4>
impl Record<4>
sourcepub fn reference_sequence_name(&self) -> &BStr
pub fn reference_sequence_name(&self) -> &BStr
Returns the reference sequence name.
sourcepub fn feature_start(&self) -> Result<Position>
pub fn feature_start(&self) -> Result<Position>
Returns the feature start.
sourcepub fn feature_end(&self) -> Option<Result<Position>>
pub fn feature_end(&self) -> Option<Result<Position>>
Returns the feature end.
source§impl Record<5>
impl Record<5>
sourcepub fn reference_sequence_name(&self) -> &BStr
pub fn reference_sequence_name(&self) -> &BStr
Returns the reference sequence name.
sourcepub fn feature_start(&self) -> Result<Position>
pub fn feature_start(&self) -> Result<Position>
Returns the feature start.
sourcepub fn feature_end(&self) -> Option<Result<Position>>
pub fn feature_end(&self) -> Option<Result<Position>>
Returns the feature end.
source§impl Record<6>
impl Record<6>
sourcepub fn reference_sequence_name(&self) -> &BStr
pub fn reference_sequence_name(&self) -> &BStr
Returns the reference sequence name.
sourcepub fn feature_start(&self) -> Result<Position>
pub fn feature_start(&self) -> Result<Position>
Returns the feature start.
sourcepub fn feature_end(&self) -> Option<Result<Position>>
pub fn feature_end(&self) -> Option<Result<Position>>
Returns the feature end.
Trait Implementations§
source§impl Record<3> for Record<3>
impl Record<3> for Record<3>
source§fn reference_sequence_name(&self) -> &BStr
fn reference_sequence_name(&self) -> &BStr
Returns the reference sequence name.
source§fn feature_start(&self) -> Result<Position>
fn feature_start(&self) -> Result<Position>
Returns the feature start.
source§fn other_fields(&self) -> Box<dyn OtherFields + '_>
fn other_fields(&self) -> Box<dyn OtherFields + '_>
Returns the other fields.
source§fn standard_field_count(&self) -> usize
fn standard_field_count(&self) -> usize
Return the number of standard fields.
source§impl Record<4> for Record<4>
impl Record<4> for Record<4>
source§fn reference_sequence_name(&self) -> &BStr
fn reference_sequence_name(&self) -> &BStr
Returns the reference sequence name.
source§fn feature_start(&self) -> Result<Position>
fn feature_start(&self) -> Result<Position>
Returns the feature start.
source§fn other_fields(&self) -> Box<dyn OtherFields + '_>
fn other_fields(&self) -> Box<dyn OtherFields + '_>
Returns the other fields.
source§fn standard_field_count(&self) -> usize
fn standard_field_count(&self) -> usize
Return the number of standard fields.
source§impl Record<5> for Record<5>
impl Record<5> for Record<5>
source§fn reference_sequence_name(&self) -> &BStr
fn reference_sequence_name(&self) -> &BStr
Returns the reference sequence name.
source§fn feature_start(&self) -> Result<Position>
fn feature_start(&self) -> Result<Position>
Returns the feature start.
source§fn other_fields(&self) -> Box<dyn OtherFields + '_>
fn other_fields(&self) -> Box<dyn OtherFields + '_>
Returns the other fields.
source§fn standard_field_count(&self) -> usize
fn standard_field_count(&self) -> usize
Return the number of standard fields.
source§impl Record<6> for Record<6>
impl Record<6> for Record<6>
source§fn reference_sequence_name(&self) -> &BStr
fn reference_sequence_name(&self) -> &BStr
Returns the reference sequence name.
source§fn feature_start(&self) -> Result<Position>
fn feature_start(&self) -> Result<Position>
Returns the feature start.
source§fn other_fields(&self) -> Box<dyn OtherFields + '_>
fn other_fields(&self) -> Box<dyn OtherFields + '_>
Returns the other fields.
source§fn standard_field_count(&self) -> usize
fn standard_field_count(&self) -> usize
Return the number of standard fields.
impl<const N: usize> Eq for Record<N>
impl<const N: usize> StructuralPartialEq for Record<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for Record<N>
impl<const N: usize> RefUnwindSafe for Record<N>
impl<const N: usize> Send for Record<N>
impl<const N: usize> Sync for Record<N>
impl<const N: usize> Unpin for Record<N>
impl<const N: usize> UnwindSafe for Record<N>
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)