Struct constmuck::IsZeroable[][src]

pub struct IsZeroable<T> { /* fields omitted */ }
Expand description

Encodes a T:Zeroable bound as a value.

Related: the zeroed and zeroed_array functions.

Implementations

Constructs an IsZeroable

You can also use the IsZeroable macro to construct IsZeroable arguments.

Constructs an IsZeroable<T> without checking that T implements Zeroable.

Safety

You must ensure that T follows the safety requirements of Zeroable

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Constructs this type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.