pub struct SimpleTextFieldsOffsets {
pub width: FieldOffset<SimpleText, Property<LogicalLength>, AllowPin>,
pub height: FieldOffset<SimpleText, Property<LogicalLength>, AllowPin>,
pub text: FieldOffset<SimpleText, Property<SharedString>, AllowPin>,
pub font_size: FieldOffset<SimpleText, Property<LogicalLength>, AllowPin>,
pub font_weight: FieldOffset<SimpleText, Property<i32>, AllowPin>,
pub color: FieldOffset<SimpleText, Property<Brush>, AllowPin>,
pub horizontal_alignment: FieldOffset<SimpleText, Property<TextHorizontalAlignment>, AllowPin>,
pub vertical_alignment: FieldOffset<SimpleText, Property<TextVerticalAlignment>, AllowPin>,
pub cached_rendering_data: FieldOffset<SimpleText, CachedRenderingData, AllowPin>,
}
Expand description
Helper struct containing the offsets of the fields of the struct SimpleText
Generated from the #[derive(FieldOffsets)]
macro from the const-field-offset
crate
Fields§
§width: FieldOffset<SimpleText, Property<LogicalLength>, AllowPin>
§height: FieldOffset<SimpleText, Property<LogicalLength>, AllowPin>
§text: FieldOffset<SimpleText, Property<SharedString>, AllowPin>
§font_size: FieldOffset<SimpleText, Property<LogicalLength>, AllowPin>
§font_weight: FieldOffset<SimpleText, Property<i32>, AllowPin>
§color: FieldOffset<SimpleText, Property<Brush>, AllowPin>
§horizontal_alignment: FieldOffset<SimpleText, Property<TextHorizontalAlignment>, AllowPin>
§vertical_alignment: FieldOffset<SimpleText, Property<TextVerticalAlignment>, AllowPin>
§cached_rendering_data: FieldOffset<SimpleText, CachedRenderingData, AllowPin>
Auto Trait Implementations§
impl Freeze for SimpleTextFieldsOffsets
impl !RefUnwindSafe for SimpleTextFieldsOffsets
impl Send for SimpleTextFieldsOffsets
impl !Sync for SimpleTextFieldsOffsets
impl !Unpin for SimpleTextFieldsOffsets
impl UnwindSafe for SimpleTextFieldsOffsets
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