pub struct MalformedLine(/* private fields */);Implementations§
Source§impl MalformedLine
impl MalformedLine
Sourcepub fn text(&self) -> Option<SyntaxToken>
pub fn text(&self) -> Option<SyntaxToken>
The line’s raw content, excluding the newline.
Trait Implementations§
Source§impl AstNode for MalformedLine
impl AstNode for MalformedLine
type Language = DcfLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for MalformedLine
impl Clone for MalformedLine
Source§impl Debug for MalformedLine
impl Debug for MalformedLine
impl Eq for MalformedLine
Source§impl Hash for MalformedLine
impl Hash for MalformedLine
Source§impl PartialEq for MalformedLine
impl PartialEq for MalformedLine
impl StructuralPartialEq for MalformedLine
Auto Trait Implementations§
impl !RefUnwindSafe for MalformedLine
impl !Send for MalformedLine
impl !Sync for MalformedLine
impl !UnwindSafe for MalformedLine
impl Freeze for MalformedLine
impl Unpin for MalformedLine
impl UnsafeUnpin for MalformedLine
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