pub struct Char {
pub ch: char,
pub class: Class,
pub font: Font,
pub style_ref: Option<StyleRef>,
}Expand description
A character together with the atom class that drives spacing and the font it is set in.
Fields§
§ch: char§class: Class§font: Font§style_ref: Option<StyleRef>The user style the character was set in, when it was. The other functional styles need no marker of their own: the structural faces and the operator class carry them, and layout resolves those through the preset’s style slots.
Trait Implementations§
impl Copy for Char
impl Eq for Char
impl StructuralPartialEq for Char
Auto Trait Implementations§
impl Forget for Char
impl Freeze for Char
impl Move for Char
impl RefUnwindSafe for Char
impl Send for Char
impl Sync for Char
impl Unpin for Char
impl UnsafeUnpin for Char
impl UnwindSafe for Char
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