pub struct FocusEventRecord {
pub set_focus: bool,
}Expand description
Represents a FOCUS_EVENT_RECORD which Describes a focus event in a console INPUT_RECORD structure.
These events are used internally and should be ignored.
link: https://docs.microsoft.com/en-us/windows/console/focus-event-record-str
Fields§
§set_focus: boolReserved.
Trait Implementations§
Source§impl Clone for FocusEventRecord
impl Clone for FocusEventRecord
Source§fn clone(&self) -> FocusEventRecord
fn clone(&self) -> FocusEventRecord
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 FocusEventRecord
Source§impl Debug for FocusEventRecord
impl Debug for FocusEventRecord
impl Eq for FocusEventRecord
Source§impl From<FOCUS_EVENT_RECORD> for FocusEventRecord
impl From<FOCUS_EVENT_RECORD> for FocusEventRecord
Source§fn from(record: FOCUS_EVENT_RECORD) -> Self
fn from(record: FOCUS_EVENT_RECORD) -> Self
Converts to this type from the input type.
Source§impl Into<FOCUS_EVENT_RECORD> for FocusEventRecord
impl Into<FOCUS_EVENT_RECORD> for FocusEventRecord
Source§fn into(self) -> FOCUS_EVENT_RECORD
fn into(self) -> FOCUS_EVENT_RECORD
Converts this type into the (usually inferred) input type.
Source§impl Into<INPUT_RECORD> for FocusEventRecord
impl Into<INPUT_RECORD> for FocusEventRecord
Source§fn into(self) -> INPUT_RECORD
fn into(self) -> INPUT_RECORD
Converts this type into the (usually inferred) input type.
Source§impl Ord for FocusEventRecord
impl Ord for FocusEventRecord
Source§fn cmp(&self, other: &FocusEventRecord) -> Ordering
fn cmp(&self, other: &FocusEventRecord) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FocusEventRecord
impl PartialEq for FocusEventRecord
Source§impl PartialOrd for FocusEventRecord
impl PartialOrd for FocusEventRecord
impl StructuralPartialEq for FocusEventRecord
Auto Trait Implementations§
impl Freeze for FocusEventRecord
impl RefUnwindSafe for FocusEventRecord
impl Send for FocusEventRecord
impl Sync for FocusEventRecord
impl Unpin for FocusEventRecord
impl UnsafeUnpin for FocusEventRecord
impl UnwindSafe for FocusEventRecord
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