pub struct ComplexTextFieldsOffsets {Show 17 fields
pub width: FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>,
pub height: FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>,
pub text: FieldOffset<ComplexText, Property<SharedString>, AllowPin>,
pub font_size: FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>,
pub font_weight: FieldOffset<ComplexText, Property<i32>, AllowPin>,
pub color: FieldOffset<ComplexText, Property<Brush>, AllowPin>,
pub horizontal_alignment: FieldOffset<ComplexText, Property<TextHorizontalAlignment>, AllowPin>,
pub vertical_alignment: FieldOffset<ComplexText, Property<TextVerticalAlignment>, AllowPin>,
pub font_family: FieldOffset<ComplexText, Property<SharedString>, AllowPin>,
pub font_italic: FieldOffset<ComplexText, Property<bool>, AllowPin>,
pub wrap: FieldOffset<ComplexText, Property<TextWrap>, AllowPin>,
pub overflow: FieldOffset<ComplexText, Property<TextOverflow>, AllowPin>,
pub letter_spacing: FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>,
pub stroke: FieldOffset<ComplexText, Property<Brush>, AllowPin>,
pub stroke_width: FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>,
pub stroke_style: FieldOffset<ComplexText, Property<TextStrokeStyle>, AllowPin>,
pub cached_rendering_data: FieldOffset<ComplexText, CachedRenderingData, AllowPin>,
}
Expand description
Helper struct containing the offsets of the fields of the struct ComplexText
Generated from the #[derive(FieldOffsets)]
macro from the const-field-offset
crate
Fields§
§width: FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>
§height: FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>
§text: FieldOffset<ComplexText, Property<SharedString>, AllowPin>
§font_size: FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>
§font_weight: FieldOffset<ComplexText, Property<i32>, AllowPin>
§color: FieldOffset<ComplexText, Property<Brush>, AllowPin>
§horizontal_alignment: FieldOffset<ComplexText, Property<TextHorizontalAlignment>, AllowPin>
§vertical_alignment: FieldOffset<ComplexText, Property<TextVerticalAlignment>, AllowPin>
§font_family: FieldOffset<ComplexText, Property<SharedString>, AllowPin>
§font_italic: FieldOffset<ComplexText, Property<bool>, AllowPin>
§wrap: FieldOffset<ComplexText, Property<TextWrap>, AllowPin>
§overflow: FieldOffset<ComplexText, Property<TextOverflow>, AllowPin>
§letter_spacing: FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>
§stroke: FieldOffset<ComplexText, Property<Brush>, AllowPin>
§stroke_width: FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>
§stroke_style: FieldOffset<ComplexText, Property<TextStrokeStyle>, AllowPin>
§cached_rendering_data: FieldOffset<ComplexText, CachedRenderingData, AllowPin>
Auto Trait Implementations§
impl Freeze for ComplexTextFieldsOffsets
impl !RefUnwindSafe for ComplexTextFieldsOffsets
impl Send for ComplexTextFieldsOffsets
impl !Sync for ComplexTextFieldsOffsets
impl !Unpin for ComplexTextFieldsOffsets
impl UnwindSafe for ComplexTextFieldsOffsets
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