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§
Source§impl<Tree: Clone + Ast> Clone for SnippetTree<Tree>
impl<Tree: Clone + Ast> Clone for SnippetTree<Tree>
Source§fn clone(&self) -> SnippetTree<Tree>
fn clone(&self) -> SnippetTree<Tree>
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 moreAuto 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