pub struct SubstringFn { /* private fields */ }Implementations§
Source§impl SubstringFn
impl SubstringFn
pub fn expr(&self) -> Option<Expr>
pub fn exprs(&self) -> AstChildren<Expr> ⓘ
pub fn l_paren_token(&self) -> Option<SyntaxToken>
pub fn r_paren_token(&self) -> Option<SyntaxToken>
pub fn for_token(&self) -> Option<SyntaxToken>
pub fn from_token(&self) -> Option<SyntaxToken>
pub fn similar_token(&self) -> Option<SyntaxToken>
pub fn substring_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for SubstringFn
impl AstNode for SubstringFn
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for SubstringFn
impl Clone for SubstringFn
Source§fn clone(&self) -> SubstringFn
fn clone(&self) -> SubstringFn
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 SubstringFn
impl Debug for SubstringFn
Source§impl Hash for SubstringFn
impl Hash for SubstringFn
Source§impl PartialEq for SubstringFn
impl PartialEq for SubstringFn
impl Eq for SubstringFn
impl StructuralPartialEq for SubstringFn
Auto Trait Implementations§
impl Freeze for SubstringFn
impl !RefUnwindSafe for SubstringFn
impl !Send for SubstringFn
impl !Sync for SubstringFn
impl Unpin for SubstringFn
impl !UnwindSafe for SubstringFn
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