pub trait HasProps<Message> {
Show 19 methods
// Required methods
fn label(self, label: &str) -> Self;
fn fixed(self, sz: i32) -> Self;
fn color(self, col: Color) -> Self;
fn boxtype(self, boxtype: FrameType) -> Self;
fn selection_color(self, v: Color) -> Self;
fn label_color(self, v: Color) -> Self;
fn label_font(self, v: Font) -> Self;
fn label_size(self, v: i32) -> Self;
fn tooltip(self, v: &str) -> Self;
fn align(self, v: Align) -> Self;
fn when(self, v: CallbackTrigger) -> Self;
fn visible(self, v: bool) -> Self;
fn deactivate(self, v: bool) -> Self;
fn x(self, x: i32) -> Self;
fn y(self, x: i32) -> Self;
fn w(self, x: i32) -> Self;
fn h(self, x: i32) -> Self;
fn image(self, i: Option<Image>) -> Self;
fn deimage(self, i: Option<Image>) -> Self;
}Required Methods§
fn label(self, label: &str) -> Self
fn fixed(self, sz: i32) -> Self
fn color(self, col: Color) -> Self
fn boxtype(self, boxtype: FrameType) -> Self
fn selection_color(self, v: Color) -> Self
fn label_color(self, v: Color) -> Self
fn label_font(self, v: Font) -> Self
fn label_size(self, v: i32) -> Self
fn tooltip(self, v: &str) -> Self
fn align(self, v: Align) -> Self
fn when(self, v: CallbackTrigger) -> Self
fn visible(self, v: bool) -> Self
fn deactivate(self, v: bool) -> Self
fn x(self, x: i32) -> Self
fn y(self, x: i32) -> Self
fn w(self, x: i32) -> Self
fn h(self, x: i32) -> Self
fn image(self, i: Option<Image>) -> Self
fn deimage(self, i: Option<Image>) -> Self
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.