pub struct BlockString(/* private fields */);Implementations§
Source§impl BlockString
impl BlockString
pub fn header(&self) -> Option<BlockStringHeader>
pub fn lines(&self) -> AstChildren<LineString> ⓘ
Trait Implementations§
Source§impl AstNode for BlockString
impl AstNode for BlockString
type Language = MicalLanguage
fn can_cast(kind: <Self::Language as Language>::Kind) -> bool
fn cast(node: SyntaxNode<Self::Language>) -> Option<Self>
fn syntax(&self) -> &SyntaxNode<Self::Language>
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for BlockString
impl Clone for BlockString
Source§fn clone(&self) -> BlockString
fn clone(&self) -> BlockString
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 BlockString
impl Debug for BlockString
Auto Trait Implementations§
impl Freeze for BlockString
impl !RefUnwindSafe for BlockString
impl !Send for BlockString
impl !Sync for BlockString
impl Unpin for BlockString
impl UnsafeUnpin for BlockString
impl !UnwindSafe for BlockString
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