Struct fm::preview::TextContent
source · pub struct TextContent {
pub kind: TextKind,
/* private fields */
}Expand description
Holds a preview of a text content. It’s a boxed vector of strings (per line)
Fields§
§kind: TextKindTrait Implementations§
source§impl Clone for TextContent
impl Clone for TextContent
source§fn clone(&self) -> TextContent
fn clone(&self) -> TextContent
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 moresource§impl Default for TextContent
impl Default for TextContent
source§fn default() -> TextContent
fn default() -> TextContent
Returns the “default value” for a type. Read more