pub struct ChunkId(/* private fields */);Expand description
An id attribute in an executable code block (e.g., #setup in
{r #setup}). The text accessor includes the leading #.
Implementations§
Trait Implementations§
Source§impl AstNode for ChunkId
impl AstNode for ChunkId
type Language = PanacheLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
impl Eq for ChunkId
impl StructuralPartialEq for ChunkId
Auto Trait Implementations§
impl !RefUnwindSafe for ChunkId
impl !Send for ChunkId
impl !Sync for ChunkId
impl !UnwindSafe for ChunkId
impl Freeze for ChunkId
impl Unpin for ChunkId
impl UnsafeUnpin for ChunkId
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