pub struct SourceSlice<'s> { /* private fields */ }Implementations§
Source§impl<'s> SourceSlice<'s>
impl<'s> SourceSlice<'s>
pub fn as_str(&self) -> &'s str
pub fn update_end<'t>(&mut self, tail: &SourceSlice<'t>)
Trait Implementations§
Auto Trait Implementations§
impl<'s> Freeze for SourceSlice<'s>
impl<'s> RefUnwindSafe for SourceSlice<'s>
impl<'s> Send for SourceSlice<'s>
impl<'s> Sync for SourceSlice<'s>
impl<'s> Unpin for SourceSlice<'s>
impl<'s> UnwindSafe for SourceSlice<'s>
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