pub fn from_settings(layout_settings: LayoutSettings) -> Self {
        Self {
            components: layout_settings
                .components
                .into_iter()
                .map(Into::into)
                .collect(),
            settings: layout_settings.general,
        }
    }
/// Creates a new layout from the layout settings of the whole layout.
Creates a new layout from the layout settings of the whole layout.
Creates a new layout from the layout settings of the whole layout .
pub fn from_settings(layout_settings: LayoutSettings) -> Self {
        Self {
            components: layout_settings
                .components
                .into_iter()
                .map(Into::into)
                .collect(),
            settings: layout_settings.general,
        }
    }
pub fn from_settings ( layout_settings : LayoutSettings ) -> Self { Self { components : layout_settings . components . into_iter ( ) . map ( Into :: into ) . collect ( ) , settings : layout_settings . general , } }
Creates a new layout from the layout settings of the whole layout.
Creates a new layout from the layout settings of the whole layout .
layout_settings
LayoutSettings
layout_settings
LayoutSettings