pub struct ChunkClass(/* private fields */);Expand description
A class attribute in an executable code block (e.g., .marimo in
{python .marimo}). The text accessor includes the leading ..
Implementations§
Trait Implementations§
Source§impl AstNode for ChunkClass
impl AstNode for ChunkClass
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 ChunkClass
impl Clone for ChunkClass
Source§fn clone(&self) -> ChunkClass
fn clone(&self) -> ChunkClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChunkClass
impl Debug for ChunkClass
Source§impl Hash for ChunkClass
impl Hash for ChunkClass
Source§impl PartialEq for ChunkClass
impl PartialEq for ChunkClass
Source§fn eq(&self, other: &ChunkClass) -> bool
fn eq(&self, other: &ChunkClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ChunkClass
impl StructuralPartialEq for ChunkClass
Auto Trait Implementations§
impl Freeze for ChunkClass
impl !RefUnwindSafe for ChunkClass
impl !Send for ChunkClass
impl !Sync for ChunkClass
impl Unpin for ChunkClass
impl UnsafeUnpin for ChunkClass
impl !UnwindSafe for ChunkClass
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