pub enum Ndc {
Str(&'static str),
String(String),
Rc(Rc<String>),
Arc(Arc<String>),
}Expand description
Diagnostic context
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ndc
impl RefUnwindSafe for Ndc
impl !Send for Ndc
impl !Sync for Ndc
impl Unpin for Ndc
impl UnwindSafe for Ndc
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