pub enum CursorCaptureSettings {
Default,
WithCursor,
WithoutCursor,
}Expand description
Defines whether the cursor should be visible in the captured output.
Variants§
Default
Use the system’s default behavior for cursor visibility.
WithCursor
Ensure the cursor is always visible in the capture.
WithoutCursor
Ensure the cursor is never visible in the capture.
Trait Implementations§
Source§impl Clone for CursorCaptureSettings
impl Clone for CursorCaptureSettings
Source§fn clone(&self) -> CursorCaptureSettings
fn clone(&self) -> CursorCaptureSettings
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 CursorCaptureSettings
impl Debug for CursorCaptureSettings
Source§impl PartialEq for CursorCaptureSettings
impl PartialEq for CursorCaptureSettings
impl Copy for CursorCaptureSettings
impl Eq for CursorCaptureSettings
impl StructuralPartialEq for CursorCaptureSettings
Auto Trait Implementations§
impl Freeze for CursorCaptureSettings
impl RefUnwindSafe for CursorCaptureSettings
impl Send for CursorCaptureSettings
impl Sync for CursorCaptureSettings
impl Unpin for CursorCaptureSettings
impl UnwindSafe for CursorCaptureSettings
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