pub enum CursorCaptureSettings {
Default,
WithCursor,
WithoutCursor,
}展开描述
定义光标在捕获输出中是否应可见。
变体§
trait 实现§
Source§impl Clone for CursorCaptureSettings
impl Clone for CursorCaptureSettings
Source§fn clone(&self) -> CursorCaptureSettings
fn clone(&self) -> CursorCaptureSettings
返回该值的副本。 了解更多
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行复制赋值。 了解更多Source§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
自动 trait 实现§
impl Freeze for CursorCaptureSettings
impl RefUnwindSafe for CursorCaptureSettings
impl Send for CursorCaptureSettings
impl Sync for CursorCaptureSettings
impl Unpin for CursorCaptureSettings
impl UnsafeUnpin for CursorCaptureSettings
impl UnwindSafe for CursorCaptureSettings
Blanket 实现§
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
从拥有的值可变地借用。 了解更多
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>
当
into_left 为 true 时,将 self 转换为
Left 变体的
Either<Self, Self>;
否则将其转换为
Right 变体的
Either<Self, Self>。
了解更多Source§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
当
into_left(&self) 返回 true 时,将 self 转换为
Left 变体的
Either<Self, Self>;
否则将其转换为
Right 变体的
Either<Self, Self>。
了解更多