pub struct WhenInput {
pub property: PropertyId,
pub member: WhenInputMember,
pub var: WhenInputVar,
pub property_default: Option<fn() -> Box<dyn PropertyArgs>>,
/* private fields */
}Expand description
Input var read in a when condition expression.
Fields§
§property: PropertyIdProperty.
member: WhenInputMemberWhat member and how it was accessed for this input.
var: WhenInputVarInput var.
property_default: Option<fn() -> Box<dyn PropertyArgs>>Constructor that generates the default property instance.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WhenInput
impl !RefUnwindSafe for WhenInput
impl Send for WhenInput
impl Sync for WhenInput
impl Unpin for WhenInput
impl !UnwindSafe for WhenInput
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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