pub trait IGUISkinMethods: IGUISkin {
Show 59 methods
// Provided methods
fn ctor(self) { ... }
fn on_enable(self) { ... }
fn get_font(self) -> Font { ... }
fn set_font(self, value: impl Into<Font>) { ... }
fn get_box(self) -> GUIStyle { ... }
fn set_box(self, value: impl Into<GUIStyle>) { ... }
fn get_label(self) -> GUIStyle { ... }
fn set_label(self, value: impl Into<GUIStyle>) { ... }
fn get_text_field(self) -> GUIStyle { ... }
fn set_text_field(self, value: impl Into<GUIStyle>) { ... }
fn get_text_area(self) -> GUIStyle { ... }
fn set_text_area(self, value: impl Into<GUIStyle>) { ... }
fn get_button(self) -> GUIStyle { ... }
fn set_button(self, value: impl Into<GUIStyle>) { ... }
fn get_toggle(self) -> GUIStyle { ... }
fn set_toggle(self, value: impl Into<GUIStyle>) { ... }
fn get_window(self) -> GUIStyle { ... }
fn set_window(self, value: impl Into<GUIStyle>) { ... }
fn get_horizontal_slider(self) -> GUIStyle { ... }
fn set_horizontal_slider(self, value: impl Into<GUIStyle>) { ... }
fn get_horizontal_slider_thumb(self) -> GUIStyle { ... }
fn set_horizontal_slider_thumb(self, value: impl Into<GUIStyle>) { ... }
fn get_horizontal_slider_thumb_extent(self) -> GUIStyle { ... }
fn set_horizontal_slider_thumb_extent(self, value: impl Into<GUIStyle>) { ... }
fn get_slider_mixed(self) -> GUIStyle { ... }
fn set_slider_mixed(self, value: impl Into<GUIStyle>) { ... }
fn get_vertical_slider(self) -> GUIStyle { ... }
fn set_vertical_slider(self, value: impl Into<GUIStyle>) { ... }
fn get_vertical_slider_thumb(self) -> GUIStyle { ... }
fn set_vertical_slider_thumb(self, value: impl Into<GUIStyle>) { ... }
fn get_vertical_slider_thumb_extent(self) -> GUIStyle { ... }
fn set_vertical_slider_thumb_extent(self, value: impl Into<GUIStyle>) { ... }
fn get_horizontal_scrollbar(self) -> GUIStyle { ... }
fn set_horizontal_scrollbar(self, value: impl Into<GUIStyle>) { ... }
fn get_horizontal_scrollbar_thumb(self) -> GUIStyle { ... }
fn set_horizontal_scrollbar_thumb(self, value: impl Into<GUIStyle>) { ... }
fn get_horizontal_scrollbar_left_button(self) -> GUIStyle { ... }
fn set_horizontal_scrollbar_left_button(self, value: impl Into<GUIStyle>) { ... }
fn get_horizontal_scrollbar_right_button(self) -> GUIStyle { ... }
fn set_horizontal_scrollbar_right_button(self, value: impl Into<GUIStyle>) { ... }
fn get_vertical_scrollbar(self) -> GUIStyle { ... }
fn set_vertical_scrollbar(self, value: impl Into<GUIStyle>) { ... }
fn get_vertical_scrollbar_thumb(self) -> GUIStyle { ... }
fn set_vertical_scrollbar_thumb(self, value: impl Into<GUIStyle>) { ... }
fn get_vertical_scrollbar_up_button(self) -> GUIStyle { ... }
fn set_vertical_scrollbar_up_button(self, value: impl Into<GUIStyle>) { ... }
fn get_vertical_scrollbar_down_button(self) -> GUIStyle { ... }
fn set_vertical_scrollbar_down_button(self, value: impl Into<GUIStyle>) { ... }
fn get_scroll_view(self) -> GUIStyle { ... }
fn set_scroll_view(self, value: impl Into<GUIStyle>) { ... }
fn get_custom_styles(self) -> Array<GUIStyle> { ... }
fn set_custom_styles(self, value: impl Into<Array<GUIStyle>>) { ... }
fn get_settings(self) -> GUISettings { ... }
fn apply(self) { ... }
fn build_style_cache(self) { ... }
fn get_style(self, style_name: impl Into<Il2CppString>) -> GUIStyle { ... }
fn find_style(self, style_name: impl Into<Il2CppString>) -> GUIStyle { ... }
fn make_current(self) { ... }
fn get_enumerator(self) -> IEnumerator { ... }
}Provided Methods§
Sourcefn set_box(self, value: impl Into<GUIStyle>)
fn set_box(self, value: impl Into<GUIStyle>)
set_box(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn set_label(self, value: impl Into<GUIStyle>)
fn set_label(self, value: impl Into<GUIStyle>)
set_label(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_text_field(self) -> GUIStyle
fn get_text_field(self) -> GUIStyle
get_textField() overload
Sourcefn set_text_field(self, value: impl Into<GUIStyle>)
fn set_text_field(self, value: impl Into<GUIStyle>)
set_textField(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_text_area(self) -> GUIStyle
fn get_text_area(self) -> GUIStyle
get_textArea() overload
Sourcefn set_text_area(self, value: impl Into<GUIStyle>)
fn set_text_area(self, value: impl Into<GUIStyle>)
set_textArea(crate::unity_engine::guistyle::GUIStyle) overload
get_button() overload
set_button(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_toggle(self) -> GUIStyle
fn get_toggle(self) -> GUIStyle
get_toggle() overload
Sourcefn set_toggle(self, value: impl Into<GUIStyle>)
fn set_toggle(self, value: impl Into<GUIStyle>)
set_toggle(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_window(self) -> GUIStyle
fn get_window(self) -> GUIStyle
get_window() overload
Sourcefn set_window(self, value: impl Into<GUIStyle>)
fn set_window(self, value: impl Into<GUIStyle>)
set_window(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_horizontal_slider(self) -> GUIStyle
fn get_horizontal_slider(self) -> GUIStyle
get_horizontalSlider() overload
Sourcefn set_horizontal_slider(self, value: impl Into<GUIStyle>)
fn set_horizontal_slider(self, value: impl Into<GUIStyle>)
set_horizontalSlider(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_horizontal_slider_thumb(self) -> GUIStyle
fn get_horizontal_slider_thumb(self) -> GUIStyle
get_horizontalSliderThumb() overload
Sourcefn set_horizontal_slider_thumb(self, value: impl Into<GUIStyle>)
fn set_horizontal_slider_thumb(self, value: impl Into<GUIStyle>)
set_horizontalSliderThumb(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_horizontal_slider_thumb_extent(self) -> GUIStyle
fn get_horizontal_slider_thumb_extent(self) -> GUIStyle
get_horizontalSliderThumbExtent() overload
Sourcefn set_horizontal_slider_thumb_extent(self, value: impl Into<GUIStyle>)
fn set_horizontal_slider_thumb_extent(self, value: impl Into<GUIStyle>)
set_horizontalSliderThumbExtent(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_slider_mixed(self) -> GUIStyle
fn get_slider_mixed(self) -> GUIStyle
get_sliderMixed() overload
Sourcefn set_slider_mixed(self, value: impl Into<GUIStyle>)
fn set_slider_mixed(self, value: impl Into<GUIStyle>)
set_sliderMixed(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_vertical_slider(self) -> GUIStyle
fn get_vertical_slider(self) -> GUIStyle
get_verticalSlider() overload
Sourcefn set_vertical_slider(self, value: impl Into<GUIStyle>)
fn set_vertical_slider(self, value: impl Into<GUIStyle>)
set_verticalSlider(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_vertical_slider_thumb(self) -> GUIStyle
fn get_vertical_slider_thumb(self) -> GUIStyle
get_verticalSliderThumb() overload
Sourcefn set_vertical_slider_thumb(self, value: impl Into<GUIStyle>)
fn set_vertical_slider_thumb(self, value: impl Into<GUIStyle>)
set_verticalSliderThumb(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_vertical_slider_thumb_extent(self) -> GUIStyle
fn get_vertical_slider_thumb_extent(self) -> GUIStyle
get_verticalSliderThumbExtent() overload
Sourcefn set_vertical_slider_thumb_extent(self, value: impl Into<GUIStyle>)
fn set_vertical_slider_thumb_extent(self, value: impl Into<GUIStyle>)
set_verticalSliderThumbExtent(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_horizontal_scrollbar(self) -> GUIStyle
fn get_horizontal_scrollbar(self) -> GUIStyle
get_horizontalScrollbar() overload
Sourcefn set_horizontal_scrollbar(self, value: impl Into<GUIStyle>)
fn set_horizontal_scrollbar(self, value: impl Into<GUIStyle>)
set_horizontalScrollbar(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_horizontal_scrollbar_thumb(self) -> GUIStyle
fn get_horizontal_scrollbar_thumb(self) -> GUIStyle
get_horizontalScrollbarThumb() overload
Sourcefn set_horizontal_scrollbar_thumb(self, value: impl Into<GUIStyle>)
fn set_horizontal_scrollbar_thumb(self, value: impl Into<GUIStyle>)
set_horizontalScrollbarThumb(crate::unity_engine::guistyle::GUIStyle) overload
get_horizontalScrollbarLeftButton() overload
set_horizontalScrollbarLeftButton(crate::unity_engine::guistyle::GUIStyle) overload
get_horizontalScrollbarRightButton() overload
set_horizontalScrollbarRightButton(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_vertical_scrollbar(self) -> GUIStyle
fn get_vertical_scrollbar(self) -> GUIStyle
get_verticalScrollbar() overload
Sourcefn set_vertical_scrollbar(self, value: impl Into<GUIStyle>)
fn set_vertical_scrollbar(self, value: impl Into<GUIStyle>)
set_verticalScrollbar(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_vertical_scrollbar_thumb(self) -> GUIStyle
fn get_vertical_scrollbar_thumb(self) -> GUIStyle
get_verticalScrollbarThumb() overload
Sourcefn set_vertical_scrollbar_thumb(self, value: impl Into<GUIStyle>)
fn set_vertical_scrollbar_thumb(self, value: impl Into<GUIStyle>)
set_verticalScrollbarThumb(crate::unity_engine::guistyle::GUIStyle) overload
get_verticalScrollbarUpButton() overload
set_verticalScrollbarUpButton(crate::unity_engine::guistyle::GUIStyle) overload
get_verticalScrollbarDownButton() overload
set_verticalScrollbarDownButton(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_scroll_view(self) -> GUIStyle
fn get_scroll_view(self) -> GUIStyle
get_scrollView() overload
Sourcefn set_scroll_view(self, value: impl Into<GUIStyle>)
fn set_scroll_view(self, value: impl Into<GUIStyle>)
set_scrollView(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn get_custom_styles(self) -> Array<GUIStyle>
fn get_custom_styles(self) -> Array<GUIStyle>
get_customStyles() overload
Sourcefn set_custom_styles(self, value: impl Into<Array<GUIStyle>>)
fn set_custom_styles(self, value: impl Into<Array<GUIStyle>>)
set_customStyles(::unity::Array<crate::unity_engine::guistyle::GUIStyle>) overload
Sourcefn get_settings(self) -> GUISettings
fn get_settings(self) -> GUISettings
get_settings() overload
Sourcefn build_style_cache(self)
fn build_style_cache(self)
BuildStyleCache() overload
Sourcefn get_style(self, style_name: impl Into<Il2CppString>) -> GUIStyle
fn get_style(self, style_name: impl Into<Il2CppString>) -> GUIStyle
GetStyle(::unity::Il2CppString) overload
Sourcefn find_style(self, style_name: impl Into<Il2CppString>) -> GUIStyle
fn find_style(self, style_name: impl Into<Il2CppString>) -> GUIStyle
FindStyle(::unity::Il2CppString) overload
Sourcefn make_current(self)
fn make_current(self)
MakeCurrent() overload
Sourcefn get_enumerator(self) -> IEnumerator
fn get_enumerator(self) -> IEnumerator
GetEnumerator() 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: IGUISkin> IGUISkinMethods for __T
unity_engine-guiskin only.