pub struct PipelineOptions {
pub shader_stage: ShaderStage,
pub entry_point: String,
}Available on (
wgpu_core or naga) and crate feature spv-out only.Fields§
§shader_stage: ShaderStageThe stage of the entry point.
entry_point: StringThe name of the entry point.
If no entry point that matches is found while creating a Writer, a error will be thrown.
Trait Implementations§
source§impl Clone for PipelineOptions
impl Clone for PipelineOptions
source§fn clone(&self) -> PipelineOptions
fn clone(&self) -> PipelineOptions
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 moresource§impl Debug for PipelineOptions
impl Debug for PipelineOptions
source§impl<'de> Deserialize<'de> for PipelineOptions
impl<'de> Deserialize<'de> for PipelineOptions
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PipelineOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<PipelineOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for PipelineOptions
impl Hash for PipelineOptions
source§impl PartialEq for PipelineOptions
impl PartialEq for PipelineOptions
source§fn eq(&self, other: &PipelineOptions) -> bool
fn eq(&self, other: &PipelineOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PipelineOptions
impl Serialize for PipelineOptions
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PipelineOptions
impl StructuralPartialEq for PipelineOptions
Auto Trait Implementations§
impl RefUnwindSafe for PipelineOptions
impl Send for PipelineOptions
impl Sync for PipelineOptions
impl Unpin for PipelineOptions
impl UnwindSafe for PipelineOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.