INNER CODE UNIT · Rust
with_new_name
informationsea/transanno · liftover-rs/src/bedparse/mod.rs:44
pub fn with_new_name(&self, new_name: &'a [u8]) -> Self {
Self {
chrom: self.chrom,
start: self.start,
end: self.end,
name: Some(new_name),
score: self.score,
strand: self.strand,
others: self.others,
}
}
pub fn with_new_position(
&self,
chrom: &'a [u8],
start: u64,
end: u64,
strand: Option<&'a [u8]>,