HasProps

Trait HasProps 

Source
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§

Source

fn label(self, label: &str) -> Self

Source

fn fixed(self, sz: i32) -> Self

Source

fn color(self, col: Color) -> Self

Source

fn boxtype(self, boxtype: FrameType) -> Self

Source

fn selection_color(self, v: Color) -> Self

Source

fn label_color(self, v: Color) -> Self

Source

fn label_font(self, v: Font) -> Self

Source

fn label_size(self, v: i32) -> Self

Source

fn tooltip(self, v: &str) -> Self

Source

fn align(self, v: Align) -> Self

Source

fn when(self, v: CallbackTrigger) -> Self

Source

fn visible(self, v: bool) -> Self

Source

fn deactivate(self, v: bool) -> Self

Source

fn x(self, x: i32) -> Self

Source

fn y(self, x: i32) -> Self

Source

fn w(self, x: i32) -> Self

Source

fn h(self, x: i32) -> Self

Source

fn image(self, i: Option<Image>) -> Self

Source

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.

Implementors§

Source§

impl<Message: 'static, W: VNode<Message>> HasProps<Message> for W