pub fn from_text(text: impl Into<T>) -> Self {
        let mut this = TextLayout::new();
        this.set_text(text.into());
        this
    }
/// Create a new `TextLayout` with the provided text.
///
/// This is useful when the text is not tied to application data.
Create a new `TextLayout` with the provided text.
This is useful when the text is not tied to application data.
Create a new ` TextLayout ` with the provided text . This is useful when the text is not tied to application data .
pub fn from_text(text: impl Into<T>) -> Self {
        let mut this = TextLayout::new();
        this.set_text(text.into());
        this
    }
pub fn from_text ( text : impl Into < T > ) -> Self { let mut this = TextLayout :: new ( ) ; this . set_text ( text . into ( ) ) ; this }
Create a new `TextLayout` with the provided text.
Create a new ` TextLayout ` with the provided text .
text
impl Into<T>
text
impl Into<T>