Skip to main content

Cursor

Type Alias Cursor 

pub type Cursor = Cursor<Token>;

Aliased Type§

pub struct Cursor(/* private fields */);

Trait Implementations§

Source§

impl From<And> for Cursor

Source§

fn from(value: And) -> Self

Converts to this type from the input type.
Source§

impl From<Any> for Cursor

Source§

fn from(value: Any) -> Self

Converts to this type from the input type.
Source§

impl From<At> for Cursor

Source§

fn from(value: At) -> Self

Converts to this type from the input type.
Source§

impl From<AtKeyword> for Cursor

Source§

fn from(value: AtKeyword) -> Self

Converts to this type from the input type.
Source§

impl From<Backtick> for Cursor

Source§

fn from(value: Backtick) -> Self

Converts to this type from the input type.
Source§

impl From<BadString> for Cursor

Source§

fn from(value: BadString) -> Self

Converts to this type from the input type.
Source§

impl From<BadUrl> for Cursor

Source§

fn from(value: BadUrl) -> Self

Converts to this type from the input type.
Source§

impl From<Bang> for Cursor

Source§

fn from(value: Bang) -> Self

Converts to this type from the input type.
Source§

impl From<Caret> for Cursor

Source§

fn from(value: Caret) -> Self

Converts to this type from the input type.
Source§

impl From<CdcOrCdo> for Cursor

Source§

fn from(value: CdcOrCdo) -> Self

Converts to this type from the input type.
Source§

impl From<Colon> for Cursor

Source§

fn from(value: Colon) -> Self

Converts to this type from the input type.
Source§

impl From<Comma> for Cursor

Source§

fn from(value: Comma) -> Self

Converts to this type from the input type.
Source§

impl From<Comment> for Cursor

Source§

fn from(value: Comment) -> Self

Converts to this type from the input type.
Source§

impl From<Dash> for Cursor

Source§

fn from(value: Dash) -> Self

Converts to this type from the input type.
Source§

impl From<DashedIdent> for Cursor

Source§

fn from(value: DashedIdent) -> Self

Converts to this type from the input type.
Source§

impl From<Delim> for Cursor

Source§

fn from(value: Delim) -> Self

Converts to this type from the input type.
Source§

impl From<Dimension> for Cursor

Source§

fn from(value: Dimension) -> Self

Converts to this type from the input type.
Source§

impl From<Dollar> for Cursor

Source§

fn from(value: Dollar) -> Self

Converts to this type from the input type.
Source§

impl From<Dot> for Cursor

Source§

fn from(value: Dot) -> Self

Converts to this type from the input type.
Source§

impl<Left, Right> From<Either<Left, Right>> for Cursor
where Left: Copy, Right: Copy, Cursor: From<Left> + From<Right>,

Source§

fn from(value: Either<Left, Right>) -> Self

Converts to this type from the input type.
Source§

impl From<Eof> for Cursor

Source§

fn from(value: Eof) -> Self

Converts to this type from the input type.
Source§

impl From<Eq> for Cursor

Source§

fn from(value: Eq) -> Self

Converts to this type from the input type.
Source§

impl From<Function> for Cursor

Source§

fn from(value: Function) -> Self

Converts to this type from the input type.
Source§

impl From<Gt> for Cursor

Source§

fn from(value: Gt) -> Self

Converts to this type from the input type.
Source§

impl From<Hash> for Cursor

Source§

fn from(value: Hash) -> Self

Converts to this type from the input type.
Source§

impl From<Hash> for Cursor

Source§

fn from(value: Hash) -> Self

Converts to this type from the input type.
Source§

impl From<Ident> for Cursor

Source§

fn from(value: Ident) -> Self

Converts to this type from the input type.
Source§

impl From<LeftCurly> for Cursor

Source§

fn from(value: LeftCurly) -> Self

Converts to this type from the input type.
Source§

impl From<LeftParen> for Cursor

Source§

fn from(value: LeftParen) -> Self

Converts to this type from the input type.
Source§

impl From<LeftSquare> for Cursor

Source§

fn from(value: LeftSquare) -> Self

Converts to this type from the input type.
Source§

impl From<Lt> for Cursor

Source§

fn from(value: Lt) -> Self

Converts to this type from the input type.
Source§

impl From<Number> for Cursor

Source§

fn from(value: Number) -> Self

Converts to this type from the input type.
Source§

impl From<Or> for Cursor

Source§

fn from(value: Or) -> Self

Converts to this type from the input type.
Source§

impl From<PairWiseEnd> for Cursor

Source§

fn from(value: PairWiseEnd) -> Self

Converts to this type from the input type.
Source§

impl From<PairWiseStart> for Cursor

Source§

fn from(value: PairWiseStart) -> Self

Converts to this type from the input type.
Source§

impl<I> From<ParserCheckpoint<I>> for Cursor

Source§

fn from(value: ParserCheckpoint<I>) -> Self

Converts to this type from the input type.
Source§

impl From<Percent> for Cursor

Source§

fn from(value: Percent) -> Self

Converts to this type from the input type.
Source§

impl From<Plus> for Cursor

Source§

fn from(value: Plus) -> Self

Converts to this type from the input type.
Source§

impl From<Question> for Cursor

Source§

fn from(value: Question) -> Self

Converts to this type from the input type.
Source§

impl From<RightCurly> for Cursor

Source§

fn from(value: RightCurly) -> Self

Converts to this type from the input type.
Source§

impl From<RightParen> for Cursor

Source§

fn from(value: RightParen) -> Self

Converts to this type from the input type.
Source§

impl From<RightSquare> for Cursor

Source§

fn from(value: RightSquare) -> Self

Converts to this type from the input type.
Source§

impl From<Semicolon> for Cursor

Source§

fn from(value: Semicolon) -> Self

Converts to this type from the input type.
Source§

impl From<Slash> for Cursor

Source§

fn from(value: Slash) -> Self

Converts to this type from the input type.
Source§

impl From<Star> for Cursor

Source§

fn from(value: Star) -> Self

Converts to this type from the input type.
Source§

impl From<String> for Cursor

Source§

fn from(value: String) -> Self

Converts to this type from the input type.
Source§

impl From<Tilde> for Cursor

Source§

fn from(value: Tilde) -> Self

Converts to this type from the input type.
Source§

impl From<Underscore> for Cursor

Source§

fn from(value: Underscore) -> Self

Converts to this type from the input type.
Source§

impl From<Url> for Cursor

Source§

fn from(value: Url) -> Self

Converts to this type from the input type.
Source§

impl From<Whitespace> for Cursor

Source§

fn from(value: Whitespace) -> Self

Converts to this type from the input type.
Source§

impl SemanticEq for Cursor

Source§

fn semantic_eq(&self, other: &Self) -> bool

Returns true if self and other are semantically equal.
Source§

impl ToCursors for Cursor

Source§

fn to_cursors(&self, s: &mut impl CursorSink)