Skip to main content

ContainerPositionExt

Trait ContainerPositionExt 

Source
pub trait ContainerPositionExt: LayoutExt {
    // Provided method
    fn position(self, position: impl Into<Position>) -> Self { ... }
}
Expand description

Method for setting how an element is placed relative to its parent or the window.

Provided Methods§

Source

fn position(self, position: impl Into<Position>) -> Self

Set how the element is placed relative to its parent or the window. See Position.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ContainerPositionExt for ImageViewer

Source§

impl ContainerPositionExt for OverflowedContent

Source§

impl ContainerPositionExt for ScrollView

Implementors§