validate_effect

Function validate_effect 

Source
pub fn validate_effect(
    block: &Block,
    data: &Everything,
    sc: &mut ScopeContext,
    tooltipped: Tooltipped,
) -> bool
Expand description

The standard interface to effect validation. Validates an effect in the given ScopeContext.

tooltipped determines what warnings are emitted related to tooltippability of the effects inside the block.