pub struct DataCell {
pub character: char,
pub foreground: TerminalColor,
pub background: TerminalColor,
}Fields§
§character: char§foreground: TerminalColor§background: TerminalColorTrait Implementations§
Source§impl From<BrailleOctPixel> for DataCell
impl From<BrailleOctPixel> for DataCell
Source§fn from(val: BrailleOctPixel) -> Self
fn from(val: BrailleOctPixel) -> Self
Converts to this type from the input type.
Source§impl From<CharacterPixel> for DataCell
impl From<CharacterPixel> for DataCell
Source§fn from(val: CharacterPixel) -> Self
fn from(val: CharacterPixel) -> Self
Converts to this type from the input type.
Source§impl From<ColorDualPixel> for DataCell
impl From<ColorDualPixel> for DataCell
Source§fn from(val: ColorDualPixel) -> Self
fn from(val: ColorDualPixel) -> Self
Converts to this type from the input type.
Source§impl From<ColorHexPixel> for DataCell
impl From<ColorHexPixel> for DataCell
Source§fn from(val: ColorHexPixel) -> Self
fn from(val: ColorHexPixel) -> Self
Converts to this type from the input type.
Source§impl From<ColorOctPixel> for DataCell
impl From<ColorOctPixel> for DataCell
Source§fn from(val: ColorOctPixel) -> Self
fn from(val: ColorOctPixel) -> Self
Converts to this type from the input type.
Source§impl From<ColorQuadPixel> for DataCell
impl From<ColorQuadPixel> for DataCell
Source§fn from(val: ColorQuadPixel) -> Self
fn from(val: ColorQuadPixel) -> Self
Converts to this type from the input type.
Source§impl From<ColorSinglePixel> for DataCell
impl From<ColorSinglePixel> for DataCell
Source§fn from(val: ColorSinglePixel) -> Self
fn from(val: ColorSinglePixel) -> Self
Converts to this type from the input type.
Source§impl From<SinglePixel> for DataCell
impl From<SinglePixel> for DataCell
Source§fn from(val: SinglePixel) -> Self
fn from(val: SinglePixel) -> Self
Converts to this type from the input type.
impl Copy for DataCell
Auto Trait Implementations§
impl Freeze for DataCell
impl RefUnwindSafe for DataCell
impl Send for DataCell
impl Sync for DataCell
impl Unpin for DataCell
impl UnwindSafe for DataCell
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