pub struct UiElement {
pub element_type: String,
pub label: Option<String>,
pub context: String,
pub file_path: String,
pub line: usize,
pub response_var: Option<String>,
}Expand description
A UI element found in the code (e.g., button, label, checkbox)
Fields§
§element_type: StringType of UI element (button, label, checkbox, etc.)
label: Option<String>Label or identifier if available
context: StringFunction/method containing this element
file_path: StringFile path
line: usizeLine number (0 if unknown)
response_var: Option<String>Variable name if response is stored
Trait Implementations§
impl StructuralPartialEq for UiElement
Auto Trait Implementations§
impl Freeze for UiElement
impl RefUnwindSafe for UiElement
impl Send for UiElement
impl Sync for UiElement
impl Unpin for UiElement
impl UnwindSafe for UiElement
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