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§
Sourcefn get_scroll_position(self) -> Vector2
fn get_scroll_position(self) -> Vector2
get_scrollPosition() overload
Sourcefn set_scroll_position(self, value: impl Into<Vector2>)
fn set_scroll_position(self, value: impl Into<Vector2>)
set_scrollPosition(crate::unity_engine::vector2::Vector2) overload
Sourcefn get_handle_scroll_wheel(self) -> bool
fn get_handle_scroll_wheel(self) -> bool
get_handleScrollWheel() overload
Sourcefn set_handle_scroll_wheel(self, value: impl Into<bool>)
fn set_handle_scroll_wheel(self, value: impl Into<bool>)
set_handleScrollWheel(bool) overload
Sourcefn 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 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
Sourcefn close_scope(self)
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§
impl<__T: IGUILayout_ScrollViewScope> IGUILayout_ScrollViewScopeMethods for __T
Available on crate feature
unity_engine-guilayout only.