#[repr(C)]pub struct IdentifiedSelection {
pub id: SelectionId,
pub selection: Selection,
}Expand description
A selection (cursor or range) paired with a stable identity.
Fields§
§id: SelectionId§selection: SelectionTrait Implementations§
Source§impl Clone for IdentifiedSelection
impl Clone for IdentifiedSelection
Source§fn clone(&self) -> IdentifiedSelection
fn clone(&self) -> IdentifiedSelection
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 IdentifiedSelection
impl Debug for IdentifiedSelection
Source§impl FromIterator<IdentifiedSelection> for IdentifiedSelectionVec
impl FromIterator<IdentifiedSelection> for IdentifiedSelectionVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = IdentifiedSelection>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = IdentifiedSelection>,
Creates a value from an iterator. Read more
Source§impl Hash for IdentifiedSelection
impl Hash for IdentifiedSelection
Source§impl PartialEq for IdentifiedSelection
impl PartialEq for IdentifiedSelection
Source§fn eq(&self, other: &IdentifiedSelection) -> bool
fn eq(&self, other: &IdentifiedSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IdentifiedSelection
impl Eq for IdentifiedSelection
impl StructuralPartialEq for IdentifiedSelection
Auto Trait Implementations§
impl Freeze for IdentifiedSelection
impl RefUnwindSafe for IdentifiedSelection
impl Send for IdentifiedSelection
impl Sync for IdentifiedSelection
impl Unpin for IdentifiedSelection
impl UnsafeUnpin for IdentifiedSelection
impl UnwindSafe for IdentifiedSelection
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