pub type AllowToggleUncomputed = fn(_: &Target, _: bool) -> Result<(), &'static str>;Expand description
Returns Ok if the toggle is allowed, Err with an explanation of not.
The bool indicates whether the feature is being enabled (true) or disabled.
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes