pub struct InputFallback {
pub value: InputFallbackValue,
pub coordinate_copies: Option<FallbackCoordinateCopies>,
}Expand description
One source-stated input used only when a preceding stage cannot execute. The four base value forms cover normals, material colour, material coordinates and literals; optional copies retain the vertex program’s proved lane wiring. A consumer with no description supplies zero and names the missing input in its report.
Fields§
§value: InputFallbackValue§coordinate_copies: Option<FallbackCoordinateCopies>Implementations§
Trait Implementations§
Source§impl Clone for InputFallback
impl Clone for InputFallback
Source§impl Debug for InputFallback
impl Debug for InputFallback
impl Eq for InputFallback
Source§impl Hash for InputFallback
impl Hash for InputFallback
Source§impl PartialEq for InputFallback
impl PartialEq for InputFallback
Source§impl Serialize for InputFallback
impl Serialize for InputFallback
impl StructuralPartialEq for InputFallback
Auto Trait Implementations§
impl Forget for InputFallback
impl Freeze for InputFallback
impl RefUnwindSafe for InputFallback
impl Send for InputFallback
impl Sync for InputFallback
impl Unpin for InputFallback
impl UnsafeUnpin for InputFallback
impl UnwindSafe for InputFallback
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.