Struct zng_app::widget::builder::PropertyBuildActionArgs
source · pub struct PropertyBuildActionArgs<'a, I: Any + Send> {
pub input: I,
pub when_conditions_data: &'a [Option<Arc<dyn Any + Send + Sync>>],
}Expand description
Arguments for PropertyBuildAction<I>.
Fields§
§input: IThe property input value.
when_conditions_data: &'a [Option<Arc<dyn Any + Send + Sync>>]The WhenBuildAction::data for each when assign that affects input in the order that input was generated.
Items are None for when assigns that do not have associated build action data.
Auto Trait Implementations§
impl<'a, I> Freeze for PropertyBuildActionArgs<'a, I>where
I: Freeze,
impl<'a, I> !RefUnwindSafe for PropertyBuildActionArgs<'a, I>
impl<'a, I> Send for PropertyBuildActionArgs<'a, I>
impl<'a, I> Sync for PropertyBuildActionArgs<'a, I>where
I: Sync,
impl<'a, I> Unpin for PropertyBuildActionArgs<'a, I>where
I: Unpin,
impl<'a, I> !UnwindSafe for PropertyBuildActionArgs<'a, I>
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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