Skip to main content

KpVoid

Type Alias KpVoid 

Source
pub type KpVoid = Kp<(), (), (), (), (), (), fn() -> Option<()>, fn() -> Option<()>>;
Expand description

Kp for void - experimental

Aliased Type§

pub struct KpVoid {
    pub get: fn() -> Option<()>,
    pub set: fn() -> Option<()>,
    /* private fields */
}

Fields§

§get: fn() -> Option<()>

Getter closure: used by Kp::get for read-only access.

§set: fn() -> Option<()>

Setter closure: used by Kp::get_mut for mutation.