[][src]Trait somedoc::model::Styled

pub trait Styled<T: Style> {
    fn styles(&self) -> &Vec<T>;
fn styles_mut(&mut self) -> &mut Vec<T>;
fn add_style(&mut self, style: T) -> Result<()>; fn has_styles(&self) -> bool { ... } }

Required methods

fn styles(&self) -> &Vec<T>

fn styles_mut(&mut self) -> &mut Vec<T>

fn add_style(&mut self, style: T) -> Result<()>

Loading content...

Provided methods

fn has_styles(&self) -> bool

Loading content...

Implementors

impl Styled<ParagraphStyle> for Paragraph[src]

impl Styled<TextStyle> for Span[src]

Loading content...