pub type IfCaseLetReducer<R, PS, PA, CS, CA, SK> = IfLetReducer<R, PS, PA, CS, CA, CasePath<'static, PA, CA>, SK>;Expand description
ifCaseLet — ifLet for enum-variant child state (same mechanics, enum-focused accessors).
Aliased Type§
pub struct IfCaseLetReducer<R, PS, PA, CS, CA, SK> {
pub scope: ScopeReducer<R, PS, PA, CS, CA, EnumKp<PA, CA, &'static PA, &'static CA, &'static mut PA, &'static mut CA, for<'b> fn(&'b PA) -> Option<&'b CA>, for<'b> fn(&'b mut PA) -> Option<&'b mut CA>, fn(CA) -> PA>, SK>,
pub dismiss: fn(PA) -> bool,
pub clear: fn(&mut PS),
/* private fields */
}Fields§
§scope: ScopeReducer<R, PS, PA, CS, CA, EnumKp<PA, CA, &'static PA, &'static CA, &'static mut PA, &'static mut CA, for<'b> fn(&'b PA) -> Option<&'b CA>, for<'b> fn(&'b mut PA) -> Option<&'b mut CA>, fn(CA) -> PA>, SK>§dismiss: fn(PA) -> bool§clear: fn(&mut PS)