pub struct PipelineOptions {
pub entry_point: Option<(ShaderStage, String)>,
}
Expand description
A subset of options that are meant to be changed per pipeline.
Fields§
§entry_point: Option<(ShaderStage, String)>
The entry point to write.
Entry points are identified by a shader stage specification, and a name.
If None
, all entry points will be written. If Some
and the entry
point is not found, an error will be thrown while writing.
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 Default for PipelineOptions
impl Default for PipelineOptions
Source§fn default() -> PipelineOptions
fn default() -> PipelineOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PipelineOptionswhere
PipelineOptions: Default,
impl<'de> Deserialize<'de> for PipelineOptionswhere
PipelineOptions: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PipelineOptions
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