Struct vulkano::NonExhaustive
source · pub struct NonExhaustive(_);
Expand description
A helper type for non-exhaustive structs.
This type cannot be constructed outside Vulkano. Structures with a field of this type can only
be constructed by calling a constructor function or Default::default()
. The effect is similar
to the standard Rust #[non_exhaustive]
attribute, except that it does not prevent update
syntax from being used.
Trait Implementations§
source§impl Clone for NonExhaustive
impl Clone for NonExhaustive
source§fn clone(&self) -> NonExhaustive
fn clone(&self) -> NonExhaustive
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more