pub struct RegexLiteral(/* private fields */);Implementations§
Source§impl RegexLiteral
impl RegexLiteral
pub fn cast(node: SyntaxNode) -> Option<Self>
pub fn can_cast(kind: SyntaxKind) -> bool
pub fn as_cst(&self) -> &SyntaxNode
pub fn text_range(&self) -> TextRange
Trait Implementations§
Source§impl Clone for RegexLiteral
impl Clone for RegexLiteral
Source§fn clone(&self) -> RegexLiteral
fn clone(&self) -> RegexLiteral
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 RegexLiteral
impl Debug for RegexLiteral
Source§impl Hash for RegexLiteral
impl Hash for RegexLiteral
Source§impl PartialEq for RegexLiteral
impl PartialEq for RegexLiteral
impl Eq for RegexLiteral
impl StructuralPartialEq for RegexLiteral
Auto Trait Implementations§
impl Freeze for RegexLiteral
impl !RefUnwindSafe for RegexLiteral
impl !Send for RegexLiteral
impl !Sync for RegexLiteral
impl Unpin for RegexLiteral
impl !UnwindSafe for RegexLiteral
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.