pub enum Selection {
Clipboard,
Primary,
Secondary,
Select,
Cut0,
Cut1,
Cut2,
Cut3,
Cut4,
Cut5,
Cut6,
Cut7,
}Expand description
Specifies the selection buffer.
See request_selection or REQUEST_SELECTION for more info.
Variants§
Clipboard
Corresponds to c.
Primary
Corresponds to p.
Secondary
Corresponds to q.
Select
Either Selection::Primary or Selection::Clipboard (what is the
configured default)
Corresponds to s.
Cut0
Corresponds to 0.
Cut1
Corresponds to 1.
Cut2
Corresponds to 2.
Cut3
Corresponds to 3.
Cut4
Corresponds to 4.
Cut5
Corresponds to 5.
Cut6
Corresponds to 6.
Cut7
Corresponds to 7.
Trait Implementations§
impl Copy for Selection
impl Eq for Selection
impl StructuralPartialEq for Selection
Auto Trait Implementations§
impl Freeze for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
impl UnwindSafe for Selection
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<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