Struct i_slint_core::items::TextFieldsOffsets
source · pub struct TextFieldsOffsets {Show 14 fields
pub text: FieldOffset<Text, Property<SharedString>, AllowPin>,
pub font_family: FieldOffset<Text, Property<SharedString>, AllowPin>,
pub font_size: FieldOffset<Text, Property<LogicalLength>, AllowPin>,
pub font_weight: FieldOffset<Text, Property<i32>, AllowPin>,
pub font_italic: FieldOffset<Text, Property<bool>, AllowPin>,
pub color: FieldOffset<Text, Property<Brush>, AllowPin>,
pub horizontal_alignment: FieldOffset<Text, Property<TextHorizontalAlignment>, AllowPin>,
pub vertical_alignment: FieldOffset<Text, Property<TextVerticalAlignment>, AllowPin>,
pub wrap: FieldOffset<Text, Property<TextWrap>, AllowPin>,
pub overflow: FieldOffset<Text, Property<TextOverflow>, AllowPin>,
pub letter_spacing: FieldOffset<Text, Property<LogicalLength>, AllowPin>,
pub width: FieldOffset<Text, Property<LogicalLength>, AllowPin>,
pub height: FieldOffset<Text, Property<LogicalLength>, AllowPin>,
pub cached_rendering_data: FieldOffset<Text, CachedRenderingData, AllowPin>,
}Expand description
Helper struct containing the offsets of the fields of the struct Text
Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate
Fields§
§text: FieldOffset<Text, Property<SharedString>, AllowPin>§font_family: FieldOffset<Text, Property<SharedString>, AllowPin>§font_size: FieldOffset<Text, Property<LogicalLength>, AllowPin>§font_weight: FieldOffset<Text, Property<i32>, AllowPin>§font_italic: FieldOffset<Text, Property<bool>, AllowPin>§color: FieldOffset<Text, Property<Brush>, AllowPin>§horizontal_alignment: FieldOffset<Text, Property<TextHorizontalAlignment>, AllowPin>§vertical_alignment: FieldOffset<Text, Property<TextVerticalAlignment>, AllowPin>§wrap: FieldOffset<Text, Property<TextWrap>, AllowPin>§overflow: FieldOffset<Text, Property<TextOverflow>, AllowPin>§letter_spacing: FieldOffset<Text, Property<LogicalLength>, AllowPin>§width: FieldOffset<Text, Property<LogicalLength>, AllowPin>§height: FieldOffset<Text, Property<LogicalLength>, AllowPin>§cached_rendering_data: FieldOffset<Text, CachedRenderingData, AllowPin>Auto Trait Implementations§
impl !RefUnwindSafe for TextFieldsOffsets
impl Send for TextFieldsOffsets
impl !Sync for TextFieldsOffsets
impl !Unpin for TextFieldsOffsets
impl UnwindSafe for TextFieldsOffsets
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more