pub struct SyntaxMotionIds {Show 16 fields
pub next_function_start: MotionId,
pub prev_function_start: MotionId,
pub next_function_end: MotionId,
pub prev_function_end: MotionId,
pub next_class_start: MotionId,
pub prev_class_start: MotionId,
pub next_class_end: MotionId,
pub prev_class_end: MotionId,
pub next_parameter_start: MotionId,
pub prev_parameter_start: MotionId,
pub next_parameter_end: MotionId,
pub prev_parameter_end: MotionId,
pub next_loop_start: MotionId,
pub prev_loop_start: MotionId,
pub next_loop_end: MotionId,
pub prev_loop_end: MotionId,
}Expand description
The sixteen structural motion [MotionId]s, returned by
register_syntax_motions so the host can bind their chords
(]f/[f/]F/[F, ]c/[c/]C/[C, ]a/[a/]A/[A,
]l/[l/]L/[L) into the Normal/Visual/operator-pending
motion keymap tables.
Fields§
§next_function_start: MotionId§prev_function_start: MotionId§next_function_end: MotionId§prev_function_end: MotionId§next_class_start: MotionId§prev_class_start: MotionId§next_class_end: MotionId§prev_class_end: MotionId§next_parameter_start: MotionId§prev_parameter_start: MotionId§next_parameter_end: MotionId§prev_parameter_end: MotionId§next_loop_start: MotionId§prev_loop_start: MotionId§next_loop_end: MotionId§prev_loop_end: MotionIdTrait Implementations§
Source§impl Clone for SyntaxMotionIds
impl Clone for SyntaxMotionIds
Source§fn clone(&self) -> SyntaxMotionIds
fn clone(&self) -> SyntaxMotionIds
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 moreimpl Copy for SyntaxMotionIds
Auto Trait Implementations§
impl Freeze for SyntaxMotionIds
impl RefUnwindSafe for SyntaxMotionIds
impl Send for SyntaxMotionIds
impl Sync for SyntaxMotionIds
impl Unpin for SyntaxMotionIds
impl UnsafeUnpin for SyntaxMotionIds
impl UnwindSafe for SyntaxMotionIds
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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