pub struct ChunkLabel(/* private fields */);Expand description
A chunk label in an executable code block (e.g., mylabel in {r mylabel}).
Implementations§
Trait Implementations§
Source§impl AstNode for ChunkLabel
impl AstNode for ChunkLabel
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,
Source§impl Clone for ChunkLabel
impl Clone for ChunkLabel
Source§fn clone(&self) -> ChunkLabel
fn clone(&self) -> ChunkLabel
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 moreSource§impl Debug for ChunkLabel
impl Debug for ChunkLabel
Source§impl Hash for ChunkLabel
impl Hash for ChunkLabel
Source§impl PartialEq for ChunkLabel
impl PartialEq for ChunkLabel
impl Eq for ChunkLabel
impl StructuralPartialEq for ChunkLabel
Auto Trait Implementations§
impl Freeze for ChunkLabel
impl !RefUnwindSafe for ChunkLabel
impl !Send for ChunkLabel
impl !Sync for ChunkLabel
impl Unpin for ChunkLabel
impl UnsafeUnpin for ChunkLabel
impl !UnwindSafe for ChunkLabel
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