Struct noodles::bam::record::ReferenceSequenceId [−][src]
pub struct ReferenceSequenceId(_);
Expand description
A BAM record reference sequence ID.
A reference sequence ID is the the index of the associated reference sequence in the reference sequence dictionary.
A value of -1 is used for an unmapped record.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Error = TryFromIntError
type Error = TryFromIntError
The type returned in the event of a conversion error.
pub fn try_from(
n: i32
) -> Result<ReferenceSequenceId, <ReferenceSequenceId as TryFrom<i32>>::Error>
pub fn try_from(
n: i32
) -> Result<ReferenceSequenceId, <ReferenceSequenceId as TryFrom<i32>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ReferenceSequenceId
impl Send for ReferenceSequenceId
impl Sync for ReferenceSequenceId
impl Unpin for ReferenceSequenceId
impl UnwindSafe for ReferenceSequenceId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.