Skip to main content

IBasicMenuContent_ScrollMethods

Trait IBasicMenuContent_ScrollMethods 

Source
pub trait IBasicMenuContent_ScrollMethods: IBasicMenuContent_Scroll {
    // Provided methods
    fn ctor(
        self,
        menu_content: impl Into<BasicMenuContent>,
        scroll_bar: impl Into<GameObject>,
    ) { ... }
    fn get_scroll(self) -> f32 { ... }
    fn get_scroll_old(self) -> f32 { ... }
    fn get_scroll_from(self) -> f32 { ... }
    fn tick(self) { ... }
    fn scroll_instant(self) { ... }
    fn reset(self) { ... }
    fn set_scroll_frame(self, frame: impl Into<f32>) { ... }
    fn set_scroll_bar_handle_size(self, size: impl Into<f32>) { ... }
}

Provided Methods§

Source

fn ctor( self, menu_content: impl Into<BasicMenuContent>, scroll_bar: impl Into<GameObject>, )

.ctor(crate::app::basicmenucontent::BasicMenuContent, crate::unity_engine::gameobject::GameObject) overload

Source

fn get_scroll(self) -> f32

GetScroll() overload

Source

fn get_scroll_old(self) -> f32

GetScrollOld() overload

Source

fn get_scroll_from(self) -> f32

GetScrollFrom() overload

Source

fn tick(self)

Tick() overload

Source

fn scroll_instant(self)

ScrollInstant() overload

Source

fn reset(self)

Reset() overload

Source

fn set_scroll_frame(self, frame: impl Into<f32>)

SetScrollFrame(f32) overload

Source

fn set_scroll_bar_handle_size(self, size: impl Into<f32>)

SetScrollBarHandleSize(f32) overload

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§

Source§

impl<__T: IBasicMenuContent_Scroll> IBasicMenuContent_ScrollMethods for __T

Available on crate feature app-basicmenucontent only.