Skip to main content

IGUILayoutEntry

Trait IGUILayoutEntry 

Source
pub trait IGUILayoutEntry: IObject {
Show 18 methods // Provided methods fn min_width(self) -> f32 { ... } fn set_min_width(self, value: f32) { ... } fn max_width(self) -> f32 { ... } fn set_max_width(self, value: f32) { ... } fn min_height(self) -> f32 { ... } fn set_min_height(self, value: f32) { ... } fn max_height(self) -> f32 { ... } fn set_max_height(self, value: f32) { ... } fn rect(self) -> Rect { ... } fn set_rect(self, value: Rect) { ... } fn stretch_width(self) -> i32 { ... } fn set_stretch_width(self, value: i32) { ... } fn stretch_height(self) -> i32 { ... } fn set_stretch_height(self, value: i32) { ... } fn considered_for_margin(self) -> bool { ... } fn set_considered_for_margin(self, value: bool) { ... } fn m_style(self) -> GUIStyle { ... } fn set_m_style(self, value: GUIStyle) { ... }
}

Provided Methods§

Source

fn min_width(self) -> f32

Source

fn set_min_width(self, value: f32)

Source

fn max_width(self) -> f32

Source

fn set_max_width(self, value: f32)

Source

fn min_height(self) -> f32

Source

fn set_min_height(self, value: f32)

Source

fn max_height(self) -> f32

Source

fn set_max_height(self, value: f32)

Source

fn rect(self) -> Rect

Source

fn set_rect(self, value: Rect)

Source

fn stretch_width(self) -> i32

Source

fn set_stretch_width(self, value: i32)

Source

fn stretch_height(self) -> i32

Source

fn set_stretch_height(self, value: i32)

Source

fn considered_for_margin(self) -> bool

Source

fn set_considered_for_margin(self, value: bool)

Source

fn m_style(self) -> GUIStyle

Source

fn set_m_style(self, value: GUIStyle)

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§