pub enum Ground {
Foreground,
Background,
}Expand description
Whether a color applies to the foreground (text) or background.
Variants§
Foreground
Applies the color to the text itself (SGR 30-series / 38).
Background
Applies the color to the cell background (SGR 40-series / 48).
Trait Implementations§
impl StructuralPartialEq for Ground
Auto Trait Implementations§
impl Freeze for Ground
impl RefUnwindSafe for Ground
impl Send for Ground
impl Sync for Ground
impl Unpin for Ground
impl UnsafeUnpin for Ground
impl UnwindSafe for Ground
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