pub enum TextPart {
Literal(String),
Prop(String),
Theme(String, Pos),
}Variants§
Literal(String)
Prop(String)
Theme(String, Pos)
{theme.name}, which is a color and so never text: written where it
is, so the resolver can say so there.
Trait Implementations§
impl StructuralPartialEq for TextPart
Auto Trait Implementations§
impl Freeze for TextPart
impl RefUnwindSafe for TextPart
impl Send for TextPart
impl Sync for TextPart
impl Unpin for TextPart
impl UnsafeUnpin for TextPart
impl UnwindSafe for TextPart
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