pub fn as_layout(&self) -> Option<&Layout> {
        match self {
            Value::Layout(layout) => Some(&layout),
            _ => None,
        }
    }
/// return the layout if it is a layout variant
return the layout if it is a layout variant
return the layout if it is a layout variant
pub fn as_layout(&self) -> Option<&Layout> {
        match self {
            Value::Layout(layout) => Some(&layout),
            _ => None,
        }
    }
pub fn as_layout ( & self ) -> Option < & Layout > { match self { Value :: Layout ( layout ) => Some ( & layout ) , _ => None , } }
return the layout if it is a layout variant
return the layout if it is a layout variant
&self
&self