pub struct ConditionProperties<'a> {
pub condition: ConditionResolver<'a>,
pub true_path: Option<PrintItems<'a>>,
pub false_path: Option<PrintItems<'a>>,
}Expand description
Properties for the condition.
Fields§
§condition: ConditionResolver<'a>The condition to resolve.
true_path: Option<PrintItems<'a>>The items to print when the condition is true.
false_path: Option<PrintItems<'a>>The items to print when the condition is false or undefined (not yet resolved).
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ConditionProperties<'a>
impl<'a> !Send for ConditionProperties<'a>
impl<'a> !Sync for ConditionProperties<'a>
impl<'a> !UnwindSafe for ConditionProperties<'a>
impl<'a> Freeze for ConditionProperties<'a>
impl<'a> Unpin for ConditionProperties<'a>
impl<'a> UnsafeUnpin for ConditionProperties<'a>
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