pub struct JumpTarget {
pub buffer_id: BufferId,
pub position: Position,
}Expand description
A navigation target produced by jump-list operations.
Fields§
§buffer_id: BufferIdTarget buffer id.
position: PositionTarget position in logical coordinates.
Trait Implementations§
Source§impl Clone for JumpTarget
impl Clone for JumpTarget
Source§fn clone(&self) -> JumpTarget
fn clone(&self) -> JumpTarget
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 JumpTarget
Source§impl Debug for JumpTarget
impl Debug for JumpTarget
impl Eq for JumpTarget
Source§impl PartialEq for JumpTarget
impl PartialEq for JumpTarget
Source§fn eq(&self, other: &JumpTarget) -> bool
fn eq(&self, other: &JumpTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JumpTarget
Auto Trait Implementations§
impl Freeze for JumpTarget
impl RefUnwindSafe for JumpTarget
impl Send for JumpTarget
impl Sync for JumpTarget
impl Unpin for JumpTarget
impl UnsafeUnpin for JumpTarget
impl UnwindSafe for JumpTarget
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