Struct debris_error::SliceOwned 
source · pub struct SliceOwned<'a> {
    pub source: &'a str,
    pub origin: Option<&'a str>,
    pub annotations: Vec<SourceAnnotationOwned>,
}Expand description
An owned counterpart to the annotate_snippets::Slice struct
Fields§
§source: &'a str§origin: Option<&'a str>§annotations: Vec<SourceAnnotationOwned>Implementations§
source§impl SliceOwned<'_>
 
impl SliceOwned<'_>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SliceOwned<'a>
impl<'a> Send for SliceOwned<'a>
impl<'a> Sync for SliceOwned<'a>
impl<'a> Unpin for SliceOwned<'a>
impl<'a> UnwindSafe for SliceOwned<'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