Struct ast_grep_core::source::StrDoc
source · pub struct StrDoc<L: Language> {
pub src: String,
pub lang: L,
}
Fields§
§src: String
§lang: L
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<L> RefUnwindSafe for StrDoc<L>where L: RefUnwindSafe,
impl<L> Send for StrDoc<L>where L: Send,
impl<L> Sync for StrDoc<L>where L: Sync,
impl<L> Unpin for StrDoc<L>where L: Unpin,
impl<L> UnwindSafe for StrDoc<L>where L: UnwindSafe,
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