pub struct LineString(/* private fields */);Implementations§
Source§impl LineString
impl LineString
pub fn string(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for LineString
impl AstNode for LineString
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 LineString
impl Clone for LineString
Source§fn clone(&self) -> LineString
fn clone(&self) -> LineString
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 LineString
impl Debug for LineString
Auto Trait Implementations§
impl Freeze for LineString
impl !RefUnwindSafe for LineString
impl !Send for LineString
impl !Sync for LineString
impl Unpin for LineString
impl UnsafeUnpin for LineString
impl !UnwindSafe for LineString
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