pub struct ProseLine { /* private fields */ }Implementations§
Source§impl ProseLine
impl ProseLine
Sourcepub fn content_line(&self) -> Option<ContentLine>
pub fn content_line(&self) -> Option<ContentLine>
The wrapped > text content line — the mirror image of
LogicLine’s own wrapped children (parser/stmt.rs::prose_line),
reusing ContentLine’s grammar unmodified.
Trait Implementations§
Source§impl AstNode for ProseLine
impl AstNode for ProseLine
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true for a node with a SyntaxKind this type can wrap.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Try to cast a generic
SyntaxNode into this typed wrapper.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
Access the underlying
SyntaxNode.impl Eq for ProseLine
impl StructuralPartialEq for ProseLine
Auto Trait Implementations§
impl !RefUnwindSafe for ProseLine
impl !Send for ProseLine
impl !Sync for ProseLine
impl !UnwindSafe for ProseLine
impl Freeze for ProseLine
impl Unpin for ProseLine
impl UnsafeUnpin for ProseLine
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