[−][src]Struct sixtyfps_corelib::items::TextInputFieldsOffsets
Helper struct containing the offsets of the fields of the struct TextInput
Generated from the derive macro const-field-offset::FieldOffsets
Fields
text: FieldOffset<TextInput, Property<SharedString>, AllowPin>
font_family: FieldOffset<TextInput, Property<SharedString>, AllowPin>
font_size: FieldOffset<TextInput, Property<f32>, AllowPin>
font_weight: FieldOffset<TextInput, Property<i32>, AllowPin>
color: FieldOffset<TextInput, Property<Color>, AllowPin>
selection_foreground_color: FieldOffset<TextInput, Property<Color>, AllowPin>
selection_background_color: FieldOffset<TextInput, Property<Color>, AllowPin>
horizontal_alignment: FieldOffset<TextInput, Property<TextHorizontalAlignment>, AllowPin>
vertical_alignment: FieldOffset<TextInput, Property<TextVerticalAlignment>, AllowPin>
x: FieldOffset<TextInput, Property<f32>, AllowPin>
y: FieldOffset<TextInput, Property<f32>, AllowPin>
width: FieldOffset<TextInput, Property<f32>, AllowPin>
height: FieldOffset<TextInput, Property<f32>, AllowPin>
cursor_position: FieldOffset<TextInput, Property<i32>, AllowPin>
anchor_position: FieldOffset<TextInput, Property<i32>, AllowPin>
text_cursor_width: FieldOffset<TextInput, Property<f32>, AllowPin>
cursor_visible: FieldOffset<TextInput, Property<bool>, AllowPin>
has_focus: FieldOffset<TextInput, Property<bool>, AllowPin>
enabled: FieldOffset<TextInput, Property<bool>, AllowPin>
accepted: FieldOffset<TextInput, Signal<()>, AllowPin>
edited: FieldOffset<TextInput, Signal<()>, AllowPin>
pressed: FieldOffset<TextInput, Cell<bool>, AllowPin>
cached_rendering_data: FieldOffset<TextInput, CachedRenderingData, AllowPin>
Auto Trait Implementations
impl !RefUnwindSafe for TextInputFieldsOffsets
impl !Send for TextInputFieldsOffsets
impl !Sync for TextInputFieldsOffsets
impl !Unpin for TextInputFieldsOffsets
impl !UnwindSafe for TextInputFieldsOffsets
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,