pub trait ContainerPositionExtwhere
Self: LayoutExt,{
// Provided methods
fn position(self, position: impl Into<Position>) -> Self { ... }
fn margin(self, margin: impl Into<Gaps>) -> Self { ... }
}Expand description
Methods for setting how an element is placed relative to its parent or the window.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".