Skip to main content

SwapTiledLayout

Type Alias SwapTiledLayout 

Source
pub type SwapTiledLayout = (BTreeMap<LayoutConstraint, TiledPaneLayout>, Option<String>);

Trait Implementations§

Source§

impl TryFrom<SwapTiledLayout> for SwapTiledLayout

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(protobuf: ProtobufSwapTiledLayout) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SwapTiledLayout> for SwapTiledLayout

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(layout: SwapTiledLayout) -> Result<Self>

Performs the conversion.