Struct fm::preview::SyntaxedString
source · pub struct SyntaxedString { /* private fields */ }Expand description
Holds a string to be displayed with given colors. We have to read the colors from Syntect and parse it into tuikit attr This struct does the parsing.
Implementations§
Trait Implementations§
source§impl Clone for SyntaxedString
impl Clone for SyntaxedString
source§fn clone(&self) -> SyntaxedString
fn clone(&self) -> SyntaxedString
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more