Trait if_empty::IfEmptyBorrowed [−][src]
Expand description
For checking IfEmpty on borrowed objects
Required methods
Implementations on Foreign Types
Implementation of IfEmptyBorrowed
for str
Returns input
if str::is_empty()
returns true.
Otherwise self
is returned.