Struct i_slint_core::items::TextFieldsOffsets
source · [−]pub struct TextFieldsOffsets {Show 15 fields
pub text: FieldOffset<Text, Property<SharedString>, AllowPin>,
pub font_family: FieldOffset<Text, Property<SharedString>, AllowPin>,
pub font_size: FieldOffset<Text, Property<Coord>, AllowPin>,
pub font_weight: FieldOffset<Text, Property<i32>, 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<Coord>, AllowPin>,
pub x: FieldOffset<Text, Property<Coord>, AllowPin>,
pub y: FieldOffset<Text, Property<Coord>, AllowPin>,
pub width: FieldOffset<Text, Property<Coord>, AllowPin>,
pub height: FieldOffset<Text, Property<Coord>, 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<Coord>, AllowPin>
font_weight: FieldOffset<Text, Property<i32>, 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<Coord>, AllowPin>
x: FieldOffset<Text, Property<Coord>, AllowPin>
y: FieldOffset<Text, Property<Coord>, AllowPin>
width: FieldOffset<Text, Property<Coord>, AllowPin>
height: FieldOffset<Text, Property<Coord>, 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more