Struct WidgetProps

Source
pub struct WidgetProps {
Show 55 fields pub open: Option<bool>, pub xywh: String, pub label: Option<String>, pub typ: Option<String>, pub hide: Option<bool>, pub deactivate: Option<bool>, pub visible: Option<bool>, pub modal: Option<bool>, pub non_modal: Option<bool>, pub noborder: Option<bool>, pub xclass: Option<String>, pub size_range: Option<String>, pub resizable: Option<bool>, pub hotspot: Option<bool>, pub divider: Option<bool>, pub selected: Option<bool>, pub color: Option<u32>, pub selection_color: Option<u32>, pub tooltip: Option<String>, pub image: Option<String>, pub deimage: Option<String>, pub box: Option<String>, pub down_box: Option<String>, pub value: Option<String>, pub labeltype: Option<String>, pub labelfont: Option<i32>, pub labelsize: Option<i32>, pub labelcolor: Option<u32>, pub align: Option<i32>, pub when: Option<i32>, pub minimum: Option<f64>, pub maximum: Option<f64>, pub step: Option<f64>, pub slider_size: Option<f64>, pub size: Option<f64>, pub textfont: Option<i32>, pub textsize: Option<i32>, pub textcolor: Option<u32>, pub class: Option<String>, pub shortcut: Option<String>, pub code0: Option<String>, pub code1: Option<String>, pub code2: Option<String>, pub code3: Option<String>, pub extra_code: Option<String>, pub size_tuple: Option<String>, pub margins: Option<String>, pub gap: Option<String>, pub user_data: Option<String>, pub user_data_type: Option<String>, pub callback: Option<String>, pub comment: Option<String>, pub dimensions: Option<String>, pub margin: Option<String>, pub parent_properties: Option<ParentProps>,
}

Fields§

§open: Option<bool>§xywh: String§label: Option<String>§typ: Option<String>§hide: Option<bool>§deactivate: Option<bool>§visible: Option<bool>§modal: Option<bool>§non_modal: Option<bool>§noborder: Option<bool>§xclass: Option<String>§size_range: Option<String>§resizable: Option<bool>§hotspot: Option<bool>§divider: Option<bool>§selected: Option<bool>§color: Option<u32>§selection_color: Option<u32>§tooltip: Option<String>§image: Option<String>§deimage: Option<String>§box: Option<String>§down_box: Option<String>§value: Option<String>§labeltype: Option<String>§labelfont: Option<i32>§labelsize: Option<i32>§labelcolor: Option<u32>§align: Option<i32>§when: Option<i32>§minimum: Option<f64>§maximum: Option<f64>§step: Option<f64>§slider_size: Option<f64>§size: Option<f64>§textfont: Option<i32>§textsize: Option<i32>§textcolor: Option<u32>§class: Option<String>§shortcut: Option<String>§code0: Option<String>§code1: Option<String>§code2: Option<String>§code3: Option<String>§extra_code: Option<String>§size_tuple: Option<String>§margins: Option<String>§gap: Option<String>§user_data: Option<String>§user_data_type: Option<String>§callback: Option<String>§comment: Option<String>§dimensions: Option<String>§margin: Option<String>§parent_properties: Option<ParentProps>

Trait Implementations§

Source§

impl Debug for WidgetProps

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for WidgetProps

Source§

fn default() -> WidgetProps

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.