Skip to main content

IGUILayout_ScrollViewScopeMethods

Trait IGUILayout_ScrollViewScopeMethods 

Source
pub trait IGUILayout_ScrollViewScopeMethods: IGUILayout_ScrollViewScope {
    // Provided methods
    fn get_scroll_position(self) -> Vector2 { ... }
    fn set_scroll_position(self, value: impl Into<Vector2>) { ... }
    fn get_handle_scroll_wheel(self) -> bool { ... }
    fn set_handle_scroll_wheel(self, value: impl Into<bool>) { ... }
    fn ctor(
        self,
        scroll_position: impl Into<Vector2>,
        always_show_horizontal: impl Into<bool>,
        always_show_vertical: impl Into<bool>,
        options: impl Into<Array<GUILayoutOption>>,
    ) { ... }
    fn close_scope(self) { ... }
}

Provided Methods§

Source

fn get_scroll_position(self) -> Vector2

get_scrollPosition() overload

Source

fn set_scroll_position(self, value: impl Into<Vector2>)

set_scrollPosition(crate::unity_engine::vector2::Vector2) overload

Source

fn get_handle_scroll_wheel(self) -> bool

get_handleScrollWheel() overload

Source

fn set_handle_scroll_wheel(self, value: impl Into<bool>)

set_handleScrollWheel(bool) overload

Source

fn ctor( self, scroll_position: impl Into<Vector2>, always_show_horizontal: impl Into<bool>, always_show_vertical: impl Into<bool>, options: impl Into<Array<GUILayoutOption>>, )

.ctor(crate::unity_engine::vector2::Vector2, bool, bool, ::unity::Array<crate::unity_engine::guilayoutoption::GUILayoutOption>) overload

Source

fn close_scope(self)

CloseScope() 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: IGUILayout_ScrollViewScope> IGUILayout_ScrollViewScopeMethods for __T

Available on crate feature unity_engine-guilayout only.