Skip to main content

ContainerExt

Trait ContainerExt 

Source
pub trait ContainerExt
where Self: LayoutExt,
{ // Provided method fn padding(self, padding: impl Into<Gaps>) -> Self { ... } }
Expand description

Method for setting an element’s inner padding.

Provided Methods§

Source

fn padding(self, padding: impl Into<Gaps>) -> Self

Set the inner spacing between the element’s edges and its content. See Gaps.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§