fn map_layout<F>(mut self, map: F) -> Self
    where
        F: FnOnce(text::layout::Builder) -> text::layout::Builder,
    {
        self.style.layout = map(self.style.layout);
        self
    }
// Apply the given function to the inner text layout.
Apply the given function to the inner text layout.
Apply the given function to the inner text layout .
fn map_layout<F>(mut self, map: F) -> Self
    where
        F: FnOnce(text::layout::Builder) -> text::layout::Builder,
    {
        self.style.layout = map(self.style.layout);
        self
    }
fn map_layout < F > ( mut self , map : F ) -> Self where F : FnOnce ( text :: layout :: Builder ) -> text :: layout :: Builder , { self . style . layout = map ( self . style . layout ) ; self }
Apply the given function to the inner text layout.
Apply the given function to the inner text layout .
mut self
map
F
mut self
map
F