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