Enum vulkano::pipeline::shader::ShaderInterfaceMismatchError [−][src]
pub enum ShaderInterfaceMismatchError { ElementsCountMismatch { self_elements: u32, other_elements: u32, }, MissingElement { location: u32, }, FormatMismatch { location: u32, self_format: Format, other_format: Format, }, }
Error that can happen when the interface mismatches between two shader stages.
Variants
ElementsCountMismatch
The number of elements is not the same between the two shader interfaces.
Fields of ElementsCountMismatch
self_elements: u32 | Number of elements in the first interface. |
other_elements: u32 | Number of elements in the second interface. |
MissingElement
An element is missing from one of the interfaces.
Fields of MissingElement
location: u32 | Location of the missing element. |
FormatMismatch
The format of an element does not match.
Fields of FormatMismatch
location: u32 | Location of the element that mismatches. |
self_format: Format | Format in the first interface. |
other_format: Format | Format in the second interface. |
Trait Implementations
impl Clone for ShaderInterfaceMismatchError
[src]
impl Clone for ShaderInterfaceMismatchError
fn clone(&self) -> ShaderInterfaceMismatchError
[src]
fn clone(&self) -> ShaderInterfaceMismatchError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ShaderInterfaceMismatchError
[src]
impl Debug for ShaderInterfaceMismatchError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ShaderInterfaceMismatchError
[src]
impl PartialEq for ShaderInterfaceMismatchError
fn eq(&self, other: &ShaderInterfaceMismatchError) -> bool
[src]
fn eq(&self, other: &ShaderInterfaceMismatchError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ShaderInterfaceMismatchError) -> bool
[src]
fn ne(&self, other: &ShaderInterfaceMismatchError) -> bool
This method tests for !=
.
impl Eq for ShaderInterfaceMismatchError
[src]
impl Eq for ShaderInterfaceMismatchError
impl Error for ShaderInterfaceMismatchError
[src]
impl Error for ShaderInterfaceMismatchError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for ShaderInterfaceMismatchError
[src]
impl Display for ShaderInterfaceMismatchError
Auto Trait Implementations
impl Send for ShaderInterfaceMismatchError
impl Send for ShaderInterfaceMismatchError
impl Sync for ShaderInterfaceMismatchError
impl Sync for ShaderInterfaceMismatchError