pub struct Builder4<A, B, C, D = NeverPtr> { /* private fields */ }
Expand description
A builder for Union4
.
An instance of this builder means that Union4
parameterized
with the same type arguments are safe to construct.
Assert that creating pointer unions of these types is safe.
The pointer types must be erasable, and their
alignment must meet the requirements of the target union type.
Construct a union at this variant.
Construct a union at this variant.
Construct a union at this variant.
Construct a union at this variant.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Whether this implementor has acknowledged the 1.1.0 update to
unerase
’s documented implementation requirements.
Read more
Turn this erasable pointer into an erased pointer.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
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.