UiScrollViewExt

Trait UiScrollViewExt 

Source
pub trait UiScrollViewExt {
    // Required method
    fn scroll_view(
        &mut self,
        restrict_to: impl Into<Option<ScrollAxis>>,
        spawn_children: impl FnOnce(&mut UiBuilder<'_, Entity>),
    ) -> UiBuilder<'_, Entity>;
}

Required Methods§

Source

fn scroll_view( &mut self, restrict_to: impl Into<Option<ScrollAxis>>, spawn_children: impl FnOnce(&mut UiBuilder<'_, Entity>), ) -> UiBuilder<'_, Entity>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§