zerocopy_
derive
0.7.35
BoolExt
Required Methods
then_some
Implementations on Foreign Types
bool
Object Safety
Implementors
In crate zerocopy_
derive
zerocopy_derive
Trait
BoolExt
Copy item path
source
pub(crate) trait BoolExt { // Required method fn
then_some
<T>(self, t: T) ->
Option
<T>; }
Required Methods
§
source
fn
then_some
<T>(self, t: T) ->
Option
<T>
Object Safety
§
This trait is
not
object safe
.
Implementations on Foreign Types
§
source
§
impl
BoolExt
for
bool
source
§
fn
then_some
<T>(self, t: T) ->
Option
<T>
Implementors
§