Struct grit_util::SnippetTree
source · pub struct SnippetTree<Tree: Ast> {
pub tree: Tree,
pub source: String,
pub prefix: &'static str,
pub postfix: &'static str,
pub snippet_start: u32,
pub snippet_end: u32,
}Fields§
§tree: Tree§source: String§prefix: &'static str§postfix: &'static str§snippet_start: u32§snippet_end: u32Trait Implementations§
Auto Trait Implementations§
impl<Tree> Freeze for SnippetTree<Tree>where
Tree: Freeze,
impl<Tree> RefUnwindSafe for SnippetTree<Tree>where
Tree: RefUnwindSafe,
impl<Tree> Send for SnippetTree<Tree>where
Tree: Send,
impl<Tree> Sync for SnippetTree<Tree>where
Tree: Sync,
impl<Tree> Unpin for SnippetTree<Tree>where
Tree: Unpin,
impl<Tree> UnwindSafe for SnippetTree<Tree>where
Tree: 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