fn mate_reference_sequence<'rs>(
        &self,
        reference_sequences: &'rs ReferenceSequences,
    ) -> Option<io::Result<&'rs ReferenceSequence>> {
        get_reference_sequence(reference_sequences, self.mate_reference_sequence_name())
    }
/// Returns the associated reference sequence of the mate.
///
/// # Examples
///
/// ```
/// use noodles_sam::{self as sam, header::ReferenceSequences, RecordExt};
/// let record = sam::Record::default();
/// let reference_sequences = ReferenceSequences::default();
/// assert!(record.mate_reference_sequence(&reference_sequences).is_none());
/// ```
Returns the associated reference sequence of the mate.
Returns the associated reference sequence of the mate .
fn mate_reference_sequence<'rs>(
        &self,
        reference_sequences: &'rs ReferenceSequences,
    ) -> Option<io::Result<&'rs ReferenceSequence>> {
        get_reference_sequence(reference_sequences, self.mate_reference_sequence_name())
    }
fn mate_reference_sequence < ' rs > ( & self , reference_sequences : & ' rs ReferenceSequences , ) -> Option < io :: Result < & ' rs ReferenceSequence > > { get_reference_sequence ( reference_sequences , self . mate_reference_sequence_name ( ) ) }
Returns the associated reference sequence of the mate.
Returns the associated reference sequence of the mate .
&self
reference_sequences
&'rs ReferenceSequences
&self
reference_sequences
&'rs ReferenceSequences
examples
```
use noodles_sam::{self as sam, header::ReferenceSequences, RecordExt};
let record = sam::Record::default();
let reference_sequences = ReferenceSequences::default();
assert!(record.mate_reference_sequence(&reference_sequences).is_none());
```
` ` ` use noodles_sam :: { self as sam header :: ReferenceSequences RecordExt } ; let record = sam :: Record :: default () ; let reference_sequences = ReferenceSequences :: default () ; assert! ( record . mate_reference_sequence ( &reference_sequences ) . is_none () ) ; ` ` `