pub fn layout(mut self, layout: &Layout) -> Self {
        self.font = Some(layout.font.clone());
        self.line_spacing(layout.line_spacing)
            .line_wrap(layout.line_wrap)
            .justify(layout.justify)
            .font_size(layout.font_size)
            .y_align(layout.y_align)
    }
/// Set all the parameters via an existing `Layout`
Set all the parameters via an existing `Layout`
Set all the parameters via an existing ` Layout `
pub fn layout(mut self, layout: &Layout) -> Self {
        self.font = Some(layout.font.clone());
        self.line_spacing(layout.line_spacing)
            .line_wrap(layout.line_wrap)
            .justify(layout.justify)
            .font_size(layout.font_size)
            .y_align(layout.y_align)
    }
pub fn layout ( mut self , layout : & Layout ) -> Self { self . font = Some ( layout . font . clone ( ) ) ; self . line_spacing ( layout . line_spacing ) . line_wrap ( layout . line_wrap ) . justify ( layout . justify ) . font_size ( layout . font_size ) . y_align ( layout . y_align ) }
Set all the parameters via an existing `Layout`
Set all the parameters via an existing ` Layout `
mut self
layout
&Layout
mut self
layout
&Layout