i_slint_core::items

Struct WindowItemFieldsOffsets

Source
pub struct WindowItemFieldsOffsets {
Show 13 fields pub width: FieldOffset<WindowItem, Property<LogicalLength>, AllowPin>, pub height: FieldOffset<WindowItem, Property<LogicalLength>, AllowPin>, pub background: FieldOffset<WindowItem, Property<Brush>, AllowPin>, pub title: FieldOffset<WindowItem, Property<SharedString>, AllowPin>, pub no_frame: FieldOffset<WindowItem, Property<bool>, AllowPin>, pub resize_border_width: FieldOffset<WindowItem, Property<LogicalLength>, AllowPin>, pub always_on_top: FieldOffset<WindowItem, Property<bool>, AllowPin>, pub full_screen: FieldOffset<WindowItem, Property<bool>, AllowPin>, pub icon: FieldOffset<WindowItem, Property<Image>, AllowPin>, pub default_font_family: FieldOffset<WindowItem, Property<SharedString>, AllowPin>, pub default_font_size: FieldOffset<WindowItem, Property<LogicalLength>, AllowPin>, pub default_font_weight: FieldOffset<WindowItem, Property<i32>, AllowPin>, pub cached_rendering_data: FieldOffset<WindowItem, CachedRenderingData, AllowPin>,
}
Expand description

Helper struct containing the offsets of the fields of the struct WindowItem

Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate

Fields§

§width: FieldOffset<WindowItem, Property<LogicalLength>, AllowPin>§height: FieldOffset<WindowItem, Property<LogicalLength>, AllowPin>§background: FieldOffset<WindowItem, Property<Brush>, AllowPin>§title: FieldOffset<WindowItem, Property<SharedString>, AllowPin>§no_frame: FieldOffset<WindowItem, Property<bool>, AllowPin>§resize_border_width: FieldOffset<WindowItem, Property<LogicalLength>, AllowPin>§always_on_top: FieldOffset<WindowItem, Property<bool>, AllowPin>§full_screen: FieldOffset<WindowItem, Property<bool>, AllowPin>§icon: FieldOffset<WindowItem, Property<Image>, AllowPin>§default_font_family: FieldOffset<WindowItem, Property<SharedString>, AllowPin>§default_font_size: FieldOffset<WindowItem, Property<LogicalLength>, AllowPin>§default_font_weight: FieldOffset<WindowItem, Property<i32>, AllowPin>§cached_rendering_data: FieldOffset<WindowItem, CachedRenderingData, AllowPin>

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.