#[non_exhaustive]pub enum SurfaceMode {
Sealed,
Copyable,
}Expand description
Whether the host may observe cell values as Unicode.
Pixels are glyph-rasterized in both modes so applications can toggle without swapping widgets.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Sealed
Cell values must not appear in crate::HostProjection text or clipboard.
Tooltips are PNG only.
Copyable
Host may copy viewport TSV (admin ops). Paint path is unchanged.
Implementations§
Trait Implementations§
Source§impl Clone for SurfaceMode
impl Clone for SurfaceMode
impl Copy for SurfaceMode
Source§impl Debug for SurfaceMode
impl Debug for SurfaceMode
Source§impl Default for SurfaceMode
impl Default for SurfaceMode
impl Eq for SurfaceMode
Source§impl Hash for SurfaceMode
impl Hash for SurfaceMode
Source§impl PartialEq for SurfaceMode
impl PartialEq for SurfaceMode
impl StructuralPartialEq for SurfaceMode
Auto Trait Implementations§
impl Forget for SurfaceMode
impl Freeze for SurfaceMode
impl Move for SurfaceMode
impl RefUnwindSafe for SurfaceMode
impl Send for SurfaceMode
impl Sync for SurfaceMode
impl Unpin for SurfaceMode
impl UnsafeUnpin for SurfaceMode
impl UnwindSafe for SurfaceMode
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