pub enum MaxFragmentShaderInputDeduction {
InterStageBuiltIn(InterStageBuiltIn),
}Expand description
Max shader I/O variable deductions for vertex shader output. Used by
StageError::TooManyUserDefinedFragmentInputs and
StageError::FragmentInputLocationTooLarge.
Variants§
InterStageBuiltIn(InterStageBuiltIn)
Implementations§
Source§impl MaxFragmentShaderInputDeduction
impl MaxFragmentShaderInputDeduction
pub fn for_variables(self) -> u32
pub fn from_inter_stage_builtin(builtin: BuiltIn) -> Option<Self>
Trait Implementations§
Source§impl Clone for MaxFragmentShaderInputDeduction
impl Clone for MaxFragmentShaderInputDeduction
Source§fn clone(&self) -> MaxFragmentShaderInputDeduction
fn clone(&self) -> MaxFragmentShaderInputDeduction
Returns a duplicate 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 PartialEq for MaxFragmentShaderInputDeduction
impl PartialEq for MaxFragmentShaderInputDeduction
Source§fn eq(&self, other: &MaxFragmentShaderInputDeduction) -> bool
fn eq(&self, other: &MaxFragmentShaderInputDeduction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MaxFragmentShaderInputDeduction
impl Eq for MaxFragmentShaderInputDeduction
impl StructuralPartialEq for MaxFragmentShaderInputDeduction
Auto Trait Implementations§
impl Freeze for MaxFragmentShaderInputDeduction
impl RefUnwindSafe for MaxFragmentShaderInputDeduction
impl Send for MaxFragmentShaderInputDeduction
impl Sync for MaxFragmentShaderInputDeduction
impl Unpin for MaxFragmentShaderInputDeduction
impl UnwindSafe for MaxFragmentShaderInputDeduction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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.§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