ruma_
common
0.14.1
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.