Struct ascii_forge::renderer::cell::Cell
source · pub struct Cell { /* private fields */ }
Expand description
A cell that stores a symbol, and the style that will be applied to it.
Implementations§
Trait Implementations§
source§impl<D: Display> From<StyledContent<D>> for Cell
impl<D: Display> From<StyledContent<D>> for Cell
source§fn from(value: StyledContent<D>) -> Self
fn from(value: StyledContent<D>) -> Self
Converts to this type from the input type.
source§impl PartialEq for Cell
impl PartialEq for Cell
impl Eq for Cell
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnwindSafe for Cell
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> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more