pub struct DecodedLightSlice<'a> {
pub text: Cow<'a, str>,
pub diagnostics: Vec<DecodeDiagnostic>,
}Fields§
§text: Cow<'a, str>§diagnostics: Vec<DecodeDiagnostic>Trait Implementations§
Source§impl<'a> Clone for DecodedLightSlice<'a>
impl<'a> Clone for DecodedLightSlice<'a>
Source§fn clone(&self) -> DecodedLightSlice<'a>
fn clone(&self) -> DecodedLightSlice<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for DecodedLightSlice<'a>
impl<'a> Debug for DecodedLightSlice<'a>
Source§impl<'a> PartialEq for DecodedLightSlice<'a>
impl<'a> PartialEq for DecodedLightSlice<'a>
impl<'a> Eq for DecodedLightSlice<'a>
impl<'a> StructuralPartialEq for DecodedLightSlice<'a>
Auto Trait Implementations§
impl<'a> Freeze for DecodedLightSlice<'a>
impl<'a> RefUnwindSafe for DecodedLightSlice<'a>
impl<'a> Send for DecodedLightSlice<'a>
impl<'a> Sync for DecodedLightSlice<'a>
impl<'a> Unpin for DecodedLightSlice<'a>
impl<'a> UnsafeUnpin for DecodedLightSlice<'a>
impl<'a> UnwindSafe for DecodedLightSlice<'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