pub struct DisplayTextFragment {
pub content: String,
pub style: DisplayTextStyle,
}
Expand description
An inline text fragment which any label is composed of.
Fields§
§content: String
§style: DisplayTextStyle
Trait Implementations§
source§impl Clone for DisplayTextFragment
impl Clone for DisplayTextFragment
source§fn clone(&self) -> DisplayTextFragment
fn clone(&self) -> DisplayTextFragment
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