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§
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)
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.