pub struct LeftParen(/* private fields */);
Expand description
Represents a token with Kind::LeftParen - a (
character. Use T![‘(’] to refer to this.
Implementations§
Source§impl LeftParen
impl LeftParen
pub const fn dummy() -> Self
pub fn associated_whitespace(&self) -> AssociatedWhitespaceRules
pub fn with_associated_whitespace( &self, rules: AssociatedWhitespaceRules, ) -> Self
Trait Implementations§
Source§impl Ord for LeftParen
impl Ord for LeftParen
Source§impl PartialOrd for LeftParen
impl PartialOrd for LeftParen
Source§impl ToCursors for LeftParen
impl ToCursors for LeftParen
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for LeftParen
impl Eq for LeftParen
impl StructuralPartialEq for LeftParen
Auto Trait Implementations§
impl Freeze for LeftParen
impl RefUnwindSafe for LeftParen
impl Send for LeftParen
impl Sync for LeftParen
impl Unpin for LeftParen
impl UnwindSafe for LeftParen
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