pub struct ArcSubstr<'a> {
pub string: &'a Arc<String>,
pub start: usize,
pub end: usize,
}Expand description
A reference to a substring of an Arc
Fields§
§string: &'a Arc<String>§start: usize§end: usizeImplementations§
Trait Implementations§
Source§impl Ord for ArcSubstr<'_>
impl Ord for ArcSubstr<'_>
Source§impl PartialOrd for ArcSubstr<'_>
impl PartialOrd for ArcSubstr<'_>
impl Eq for ArcSubstr<'_>
Auto Trait Implementations§
impl<'a> Freeze for ArcSubstr<'a>
impl<'a> RefUnwindSafe for ArcSubstr<'a>
impl<'a> Send for ArcSubstr<'a>
impl<'a> Sync for ArcSubstr<'a>
impl<'a> Unpin for ArcSubstr<'a>
impl<'a> UnsafeUnpin for ArcSubstr<'a>
impl<'a> UnwindSafe for ArcSubstr<'a>
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