pub struct TokenText {
pub text: String,
pub dotless: bool,
}Expand description
The text of a token element after text-transform, as MathTree::text returns it.
Fields§
§text: String§dotless: boolThe text has a dotless ı or ȷ mapped into a family without dotless letters (bold, script,
…). The mapping uses the dotted letter of the family, so the host must also turn on the
font feature dtls for the token: add dtls = 1 to
MathComputedStyle::font_features unless the
computed font-feature-settings of the token already sets dtls.
Trait Implementations§
impl Eq for TokenText
impl StructuralPartialEq for TokenText
Auto Trait Implementations§
impl Forget for TokenText
impl Freeze for TokenText
impl Move for TokenText
impl RefUnwindSafe for TokenText
impl Send for TokenTextwhere
RawVecInner: Send,
impl Sync for TokenTextwhere
RawVecInner: Sync,
impl Unpin for TokenText
impl UnsafeUnpin for TokenText
impl UnwindSafe for TokenTextwhere
RawVecInner: UnwindSafe,
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