/// For a size, return the component along the axis.
For a size, return the component along the axis.
For a size return the component along the axis .
pub fn span(&self, size: &Size) -> Coord {
        match self {
            Self::Horizontal => size.width,
            Self::Vertical => size.height,
        }
    }
pub fn span ( & self , size : & Size ) -> Coord { match self { Self :: Horizontal => size . width , Self :: Vertical => size . height , } }
For a size, return the component along the axis.
For a size return the component along the axis .
&self
size
&Size