Struct spirq::SpecConstantResolution[][src]

pub struct SpecConstantResolution<'a> {
    pub spec_id: u32,
    pub ty: &'a Type,
}

Specialization constant resolution result.

Fields

spec_id: u32

Specialization ID, aka the constant_id layout property in GLSL.

ty: &'a Type

Type of the specialization constant.

Trait Implementations

impl<'a> Debug for SpecConstantResolution<'a>[src]

impl<'a> Eq for SpecConstantResolution<'a>[src]

impl<'a> PartialEq<SpecConstantResolution<'a>> for SpecConstantResolution<'a>[src]

impl<'a> StructuralEq for SpecConstantResolution<'a>[src]

impl<'a> StructuralPartialEq for SpecConstantResolution<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.