zstack

Function zstack 

Source
pub const fn zstack<C>(contents: C) -> ZStack<(C,)>
where C: TupleViews,
Expand description

Creates a new ZStack with center alignment and the specified contents.

This is a convenience function that creates a ZStack with Alignment::Center.