render.rs icon indicating copy to clipboard operation
render.rs copied to clipboard

if macro?

Open vpzomtrrfrt opened this issue 5 years ago • 1 comments

I've found that quite often I want to output an element only if a certain condition is true. Currently that means I have to use an if expression that returns an Option, which is rather cumbersome. Should render provide an if macro to make this nicer?

vpzomtrrfrt avatar Jul 14 '20 02:07 vpzomtrrfrt

Have definitely run into this one myself.

theashguy avatar Aug 08 '20 10:08 theashguy