pub struct AttachmentSelectionPosition {
pub line: u32,
pub character: u32,
}Expand description
Cursor position within a file selection.
Fields§
§line: u32Line number (0-based).
character: u32Character offset (0-based).
Trait Implementations§
Source§impl Clone for AttachmentSelectionPosition
impl Clone for AttachmentSelectionPosition
Source§fn clone(&self) -> AttachmentSelectionPosition
fn clone(&self) -> AttachmentSelectionPosition
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 AttachmentSelectionPosition
impl Debug for AttachmentSelectionPosition
Source§impl<'de> Deserialize<'de> for AttachmentSelectionPosition
impl<'de> Deserialize<'de> for AttachmentSelectionPosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AttachmentSelectionPosition
impl PartialEq for AttachmentSelectionPosition
Source§fn eq(&self, other: &AttachmentSelectionPosition) -> bool
fn eq(&self, other: &AttachmentSelectionPosition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AttachmentSelectionPosition
impl StructuralPartialEq for AttachmentSelectionPosition
Auto Trait Implementations§
impl Freeze for AttachmentSelectionPosition
impl RefUnwindSafe for AttachmentSelectionPosition
impl Send for AttachmentSelectionPosition
impl Sync for AttachmentSelectionPosition
impl Unpin for AttachmentSelectionPosition
impl UnsafeUnpin for AttachmentSelectionPosition
impl UnwindSafe for AttachmentSelectionPosition
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