pub struct ConsoleSelectionInfo {
pub selection_indicator: SelectionState,
pub selection_anchor: Coord,
pub selection_rect: SmallRect,
}
Expand description
Represents a CONSOLE_SELECTION_INFO
which contains information for a console selection.
link: https://docs.microsoft.com/en-us/windows/console/console-selection-info-str
Fields§
§selection_indicator: SelectionState
§selection_anchor: Coord
§selection_rect: SmallRect
Trait Implementations§
Source§impl Clone for ConsoleSelectionInfo
impl Clone for ConsoleSelectionInfo
Source§fn clone(&self) -> ConsoleSelectionInfo
fn clone(&self) -> ConsoleSelectionInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 ConsoleSelectionInfo
impl Debug for ConsoleSelectionInfo
Source§impl From<CONSOLE_SELECTION_INFO> for ConsoleSelectionInfo
impl From<CONSOLE_SELECTION_INFO> for ConsoleSelectionInfo
Source§fn from(info: CONSOLE_SELECTION_INFO) -> Self
fn from(info: CONSOLE_SELECTION_INFO) -> Self
Converts to this type from the input type.
Source§impl Into<CONSOLE_SELECTION_INFO> for ConsoleSelectionInfo
impl Into<CONSOLE_SELECTION_INFO> for ConsoleSelectionInfo
Source§fn into(self) -> CONSOLE_SELECTION_INFO
fn into(self) -> CONSOLE_SELECTION_INFO
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for ConsoleSelectionInfo
impl PartialEq for ConsoleSelectionInfo
impl Copy for ConsoleSelectionInfo
impl Eq for ConsoleSelectionInfo
impl StructuralPartialEq for ConsoleSelectionInfo
Auto Trait Implementations§
impl Freeze for ConsoleSelectionInfo
impl RefUnwindSafe for ConsoleSelectionInfo
impl Send for ConsoleSelectionInfo
impl Sync for ConsoleSelectionInfo
impl Unpin for ConsoleSelectionInfo
impl UnwindSafe for ConsoleSelectionInfo
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