pub struct ContentLine { /* private fields */ }Implementations§
Source§impl ContentLine
impl ContentLine
pub fn mixed_content(&self) -> Option<MixedContent>
pub fn divert(&self) -> Option<DivertNode>
Trait Implementations§
Source§impl AstNode for ContentLine
impl AstNode for ContentLine
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true if a node with the given kind can be cast to Self.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.Source§impl Clone for ContentLine
impl Clone for ContentLine
Source§fn clone(&self) -> ContentLine
fn clone(&self) -> ContentLine
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 ContentLine
impl Debug for ContentLine
Source§impl Display for ContentLine
impl Display for ContentLine
impl Eq for ContentLine
Source§impl Hash for ContentLine
impl Hash for ContentLine
Source§impl PartialEq for ContentLine
impl PartialEq for ContentLine
Source§fn eq(&self, other: &ContentLine) -> bool
fn eq(&self, other: &ContentLine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContentLine
Auto Trait Implementations§
impl !RefUnwindSafe for ContentLine
impl !Send for ContentLine
impl !Sync for ContentLine
impl !UnwindSafe for ContentLine
impl Freeze for ContentLine
impl Unpin for ContentLine
impl UnsafeUnpin for ContentLine
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