/// Trim the start of the span by the given amount.
Trim the start of the span by the given amount.
Trim the start of the span by the given amount .
pub fn trim_start(self, amount: impl IntoByteIndex) -> Self {
        let amount = amount.into_byte_index();
        Self {
            start: ByteIndex::min(self.start.saturating_add(amount), self.end),
            end: self.end,
        }
    }
pub fn trim_start ( self , amount : impl IntoByteIndex ) -> Self { let amount = amount . into_byte_index ( ) ; Self { start : ByteIndex :: min ( self . start . saturating_add ( amount ) , self . end ) , end : self . end , } }
Trim the start of the span by the given amount.
Trim the start of the span by the given amount .
self
amount
impl IntoByteIndex