pub struct ContentLine { /* private fields */ }Implementations§
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 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.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
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