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 Clone for EmptyEntryPointDummy
[src]
impl Clone for EmptyEntryPointDummy
[src]fn clone(&self) -> 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]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for EmptyEntryPointDummy
[src]
impl Debug for EmptyEntryPointDummy
[src]impl EntryPointAbstract for EmptyEntryPointDummy
[src]
impl EntryPointAbstract for EmptyEntryPointDummy
[src]type PipelineLayout = EmptyPipelineDesc
type SpecializationConstants = ()
fn module(&self) -> &ShaderModule
[src]
fn module(&self) -> &ShaderModule
[src]Returns the module this entry point comes from.
fn layout(&self) -> &EmptyPipelineDesc
[src]
fn layout(&self) -> &EmptyPipelineDesc
[src]Returns the pipeline layout used by the shader stage.
impl GraphicsEntryPointAbstract for EmptyEntryPointDummy
[src]
impl GraphicsEntryPointAbstract for EmptyEntryPointDummy
[src]type InputDefinition = EmptyShaderInterfaceDef
type OutputDefinition = EmptyShaderInterfaceDef
fn input(&self) -> &EmptyShaderInterfaceDef
[src]
fn input(&self) -> &EmptyShaderInterfaceDef
[src]Returns the input attributes used by the shader stage.
fn output(&self) -> &EmptyShaderInterfaceDef
[src]
fn output(&self) -> &EmptyShaderInterfaceDef
[src]Returns the output attributes used by the shader stage.
fn ty(&self) -> GraphicsShaderType
[src]
fn ty(&self) -> GraphicsShaderType
[src]Returns the type of shader.
impl Copy for EmptyEntryPointDummy
[src]
Auto Trait Implementations
impl RefUnwindSafe for EmptyEntryPointDummy
impl Send for EmptyEntryPointDummy
impl Sync for EmptyEntryPointDummy
impl Unpin for EmptyEntryPointDummy
impl UnwindSafe for EmptyEntryPointDummy
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(usize) -> bool
[src]
pub fn is_size_suitable(usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more