pub struct StyledTextItemFieldsOffsets;Expand description
Helper struct containing the offsets of the fields of the struct StyledTextItem
Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate
Implementations§
Source§impl StyledTextItemFieldsOffsets
impl StyledTextItemFieldsOffsets
pub const fn width( self, ) -> FieldOffset<StyledTextItem, Property<LogicalLength>, AllowPin>
pub const fn height( self, ) -> FieldOffset<StyledTextItem, Property<LogicalLength>, AllowPin>
pub const fn text( self, ) -> FieldOffset<StyledTextItem, Property<StyledText>, AllowPin>
pub const fn default_color( self, ) -> FieldOffset<StyledTextItem, Property<Brush>, AllowPin>
pub const fn default_font_size( self, ) -> FieldOffset<StyledTextItem, Property<LogicalLength>, AllowPin>
pub const fn default_font_family( self, ) -> FieldOffset<StyledTextItem, Property<SharedString>, AllowPin>
pub const fn horizontal_alignment( self, ) -> FieldOffset<StyledTextItem, Property<TextHorizontalAlignment>, AllowPin>
pub const fn vertical_alignment( self, ) -> FieldOffset<StyledTextItem, Property<TextVerticalAlignment>, AllowPin>
pub const fn link_clicked( self, ) -> FieldOffset<StyledTextItem, Callback<(SharedString,)>, AllowPin>
pub const fn link_color( self, ) -> FieldOffset<StyledTextItem, Property<Color>, AllowPin>
pub const fn cached_rendering_data( self, ) -> FieldOffset<StyledTextItem, CachedRenderingData, AllowPin>
Auto Trait Implementations§
impl Freeze for StyledTextItemFieldsOffsets
impl RefUnwindSafe for StyledTextItemFieldsOffsets
impl Send for StyledTextItemFieldsOffsets
impl Sync for StyledTextItemFieldsOffsets
impl Unpin for StyledTextItemFieldsOffsets
impl UnsafeUnpin for StyledTextItemFieldsOffsets
impl UnwindSafe for StyledTextItemFieldsOffsets
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