pub struct Str<'a> {
pub value: &'a str,
pub raw: &'a str,
pub span: Span,
}Fields§
§value: &'a str§raw: &'a str§span: SpanImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Str<'a>
impl<'a> RefUnwindSafe for Str<'a>
impl<'a> Send for Str<'a>
impl<'a> Sync for Str<'a>
impl<'a> Unpin for Str<'a>
impl<'a> UnsafeUnpin for Str<'a>
impl<'a> UnwindSafe for Str<'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