pub struct ComplexTextFieldsOffsets;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
Implementations§
Source§impl ComplexTextFieldsOffsets
impl ComplexTextFieldsOffsets
pub const fn width( self, ) -> FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>
pub const fn height( self, ) -> FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>
pub const fn text( self, ) -> FieldOffset<ComplexText, Property<SharedString>, AllowPin>
pub const fn font_size( self, ) -> FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>
pub const fn font_weight( self, ) -> FieldOffset<ComplexText, Property<i32>, AllowPin>
pub const fn color(self) -> FieldOffset<ComplexText, Property<Brush>, AllowPin>
pub const fn horizontal_alignment( self, ) -> FieldOffset<ComplexText, Property<TextHorizontalAlignment>, AllowPin>
pub const fn vertical_alignment( self, ) -> FieldOffset<ComplexText, Property<TextVerticalAlignment>, AllowPin>
pub const fn font_family( self, ) -> FieldOffset<ComplexText, Property<SharedString>, AllowPin>
pub const fn font_italic( self, ) -> FieldOffset<ComplexText, Property<bool>, AllowPin>
pub const fn wrap( self, ) -> FieldOffset<ComplexText, Property<TextWrap>, AllowPin>
pub const fn overflow( self, ) -> FieldOffset<ComplexText, Property<TextOverflow>, AllowPin>
pub const fn letter_spacing( self, ) -> FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>
pub const fn stroke(self) -> FieldOffset<ComplexText, Property<Brush>, AllowPin>
pub const fn stroke_width( self, ) -> FieldOffset<ComplexText, Property<LogicalLength>, AllowPin>
pub const fn stroke_style( self, ) -> FieldOffset<ComplexText, Property<TextStrokeStyle>, AllowPin>
pub const fn cached_rendering_data( self, ) -> 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 UnsafeUnpin 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