Function flame::end_with [] [src]

pub fn end_with<S: Into<StrCow>, R>(name: S, result: R) -> R

Ends the current Span and returns a given result.

This is mainly useful for code generation / plugins where wrapping all returned expressions is easier than creating a temporary variable to hold the result.