Skip to main content

IGUIWordWrapSizerMethods

Trait IGUIWordWrapSizerMethods 

Source
pub trait IGUIWordWrapSizerMethods: IGUIWordWrapSizer {
    // Provided methods
    fn ctor(
        self,
        style: impl Into<GUIStyle>,
        content: impl Into<GUIContent>,
        options: impl Into<Array<GUILayoutOption>>,
    ) { ... }
    fn calc_width(self) { ... }
    fn calc_height(self) { ... }
}

Provided Methods§

Source

fn ctor( self, style: impl Into<GUIStyle>, content: impl Into<GUIContent>, options: impl Into<Array<GUILayoutOption>>, )

.ctor(crate::unity_engine::guistyle::GUIStyle, crate::unity_engine::guicontent::GUIContent, ::unity::Array<crate::unity_engine::guilayoutoption::GUILayoutOption>) overload

Source

fn calc_width(self)

CalcWidth() overload

Source

fn calc_height(self)

CalcHeight() 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: IGUIWordWrapSizer> IGUIWordWrapSizerMethods for __T

Available on crate feature unity_engine-guiwordwrapsizer only.