pub enum CursorAction {
Absolute(Absolute),
All(All),
Backward(Backward),
First(First),
Forward(Forward),
Last(Last),
Next(Next),
Prior(Prior),
Relative(Relative),
Expr(Expr),
}Variants§
Absolute(Absolute)
All(All)
Backward(Backward)
First(First)
Forward(Forward)
Last(Last)
Next(Next)
Prior(Prior)
Relative(Relative)
Expr(Expr)
Trait Implementations§
Source§impl AstNode for CursorAction
impl AstNode for CursorAction
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 CursorAction
impl Clone for CursorAction
Source§fn clone(&self) -> CursorAction
fn clone(&self) -> CursorAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CursorAction
impl Debug for CursorAction
impl Eq for CursorAction
Source§impl From<Absolute> for CursorAction
impl From<Absolute> for CursorAction
Source§fn from(node: Absolute) -> CursorAction
fn from(node: Absolute) -> CursorAction
Converts to this type from the input type.
Source§impl From<All> for CursorAction
impl From<All> for CursorAction
Source§fn from(node: All) -> CursorAction
fn from(node: All) -> CursorAction
Converts to this type from the input type.
Source§impl From<Backward> for CursorAction
impl From<Backward> for CursorAction
Source§fn from(node: Backward) -> CursorAction
fn from(node: Backward) -> CursorAction
Converts to this type from the input type.
Source§impl From<First> for CursorAction
impl From<First> for CursorAction
Source§fn from(node: First) -> CursorAction
fn from(node: First) -> CursorAction
Converts to this type from the input type.
Source§impl From<Forward> for CursorAction
impl From<Forward> for CursorAction
Source§fn from(node: Forward) -> CursorAction
fn from(node: Forward) -> CursorAction
Converts to this type from the input type.
Source§impl From<Last> for CursorAction
impl From<Last> for CursorAction
Source§fn from(node: Last) -> CursorAction
fn from(node: Last) -> CursorAction
Converts to this type from the input type.
Source§impl From<Next> for CursorAction
impl From<Next> for CursorAction
Source§fn from(node: Next) -> CursorAction
fn from(node: Next) -> CursorAction
Converts to this type from the input type.
Source§impl From<Prior> for CursorAction
impl From<Prior> for CursorAction
Source§fn from(node: Prior) -> CursorAction
fn from(node: Prior) -> CursorAction
Converts to this type from the input type.
Source§impl From<Relative> for CursorAction
impl From<Relative> for CursorAction
Source§fn from(node: Relative) -> CursorAction
fn from(node: Relative) -> CursorAction
Converts to this type from the input type.
Source§impl Hash for CursorAction
impl Hash for CursorAction
Source§impl PartialEq for CursorAction
impl PartialEq for CursorAction
impl StructuralPartialEq for CursorAction
Auto Trait Implementations§
impl !RefUnwindSafe for CursorAction
impl !Send for CursorAction
impl !Sync for CursorAction
impl !UnwindSafe for CursorAction
impl Freeze for CursorAction
impl Unpin for CursorAction
impl UnsafeUnpin for CursorAction
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more