Enum vulkano::pipeline::shader::EmptyEntryPointDummy
[−]
[src]
pub enum EmptyEntryPointDummy {}
A dummy that implements GraphicsEntryPointAbstract
and EntryPointAbstract
.
When a function has a signature like: fn foo<S: EntryPointAbstract>(shader: Option<S>)
, you
can pass None::<EmptyEntryPointDummy>
.
This object is meant to be a replacement to !
before it is stabilized.
Trait Implementations
impl Debug for EmptyEntryPointDummy
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for EmptyEntryPointDummy
[src]
impl Clone for EmptyEntryPointDummy
[src]
fn clone(&self) -> EmptyEntryPointDummy
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl EntryPointAbstract for EmptyEntryPointDummy
[src]
type PipelineLayout = EmptyPipelineDesc
type SpecializationConstants = ()
fn module(&self) -> &ShaderModule
[src]
Returns the module this entry point comes from.
fn name(&self) -> &CStr
[src]
Returns the name of the entry point.
fn layout(&self) -> &EmptyPipelineDesc
[src]
Returns the pipeline layout used by the shader stage.
impl GraphicsEntryPointAbstract for EmptyEntryPointDummy
[src]
type InputDefinition = EmptyShaderInterfaceDef
type OutputDefinition = EmptyShaderInterfaceDef
fn input(&self) -> &EmptyShaderInterfaceDef
[src]
Returns the input attributes used by the shader stage.
fn output(&self) -> &EmptyShaderInterfaceDef
[src]
Returns the output attributes used by the shader stage.
fn ty(&self) -> GraphicsShaderType
[src]
Returns the type of shader.