pub struct SimpleTextFieldsOffsets;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
Implementations§
Source§impl SimpleTextFieldsOffsets
impl SimpleTextFieldsOffsets
pub const fn width( self, ) -> FieldOffset<SimpleText, Property<LogicalLength>, AllowPin>
pub const fn height( self, ) -> FieldOffset<SimpleText, Property<LogicalLength>, AllowPin>
pub const fn text( self, ) -> FieldOffset<SimpleText, Property<SharedString>, AllowPin>
pub const fn font_size( self, ) -> FieldOffset<SimpleText, Property<LogicalLength>, AllowPin>
pub const fn font_weight( self, ) -> FieldOffset<SimpleText, Property<i32>, AllowPin>
pub const fn color(self) -> FieldOffset<SimpleText, Property<Brush>, AllowPin>
pub const fn horizontal_alignment( self, ) -> FieldOffset<SimpleText, Property<TextHorizontalAlignment>, AllowPin>
pub const fn vertical_alignment( self, ) -> FieldOffset<SimpleText, Property<TextVerticalAlignment>, AllowPin>
pub const fn cached_rendering_data( self, ) -> 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 UnsafeUnpin 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