pub struct SymbolCell {
pub symbol: Symbol,
pub style: SymbolStyleName,
}Expand description
A symbol and the style it is drawn in: the value a cell holds and the key its rule is filed under.
The two are one value on purpose, so writing a cell and looking one up are the same spelling: a second key carrying the same two fields would be a second way to say one thing, with a conversion at every write and every lookup.
Fields§
§symbol: SymbolWhich symbol is drawn.
style: SymbolStyleNameWhich style it is drawn in.
Trait Implementations§
Source§impl Clone for SymbolCell
impl Clone for SymbolCell
Source§impl Debug for SymbolCell
impl Debug for SymbolCell
impl Eq for SymbolCell
Source§impl Hash for SymbolCell
impl Hash for SymbolCell
Source§impl PartialEq for SymbolCell
impl PartialEq for SymbolCell
impl StructuralPartialEq for SymbolCell
Auto Trait Implementations§
impl Forget for SymbolCell
impl Freeze for SymbolCell
impl RefUnwindSafe for SymbolCell
impl Send for SymbolCell
impl Sync for SymbolCell
impl Unpin for SymbolCell
impl UnsafeUnpin for SymbolCell
impl UnwindSafe for SymbolCell
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