pub struct NodeProbe {
pub text: String,
pub value: f64,
pub flag: bool,
pub selected: i64,
pub options: Vec<String>,
pub enabled: bool,
pub focused: bool,
}Expand description
Cached last-applied props for the dayscript element index (§14.2).
Fields§
§text: String§value: f64§flag: bool§selected: i64§options: Vec<String>A picker’s option labels, so text can follow the selection through either patch:
the label is what the control shows, and the index alone cannot reconstruct it.
enabled: bool§focused: boolNative keyboard focus, mirrored from Event::FocusChanged (docs/focus.md).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeProbe
impl RefUnwindSafe for NodeProbe
impl Send for NodeProbe
impl Sync for NodeProbe
impl Unpin for NodeProbe
impl UnsafeUnpin for NodeProbe
impl UnwindSafe for NodeProbe
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more