ruma_
common
0.15.0
In ruma_
common::
serde::
can_
be_
empty
ruma_common
::
serde
::
can_be_empty
Function
is_empty
Copy item path
Source
pub fn is_empty<T:
CanBeEmpty
>(val:
&T
) ->
bool
Expand description
Check whether a value is empty.