enum ResolvedBinding {
BuiltIn(BuiltIn),
Attribute(u32),
Color {
location: u32,
second_blend_source: bool,
},
User {
prefix: &'static str,
index: u32,
interpolation: Option<ResolvedInterpolation>,
},
Resource(BindTarget),
}
Variants§
Implementations§
source§impl ResolvedBinding
impl ResolvedBinding
fn as_inline_sampler<'a>( &self, options: &'a Options, ) -> Option<&'a InlineSampler>
const fn as_bind_target(&self) -> Option<&BindTarget>
fn try_fmt<W: Write>(&self, out: &mut W) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for ResolvedBinding
impl RefUnwindSafe for ResolvedBinding
impl Send for ResolvedBinding
impl Sync for ResolvedBinding
impl Unpin for ResolvedBinding
impl UnwindSafe for ResolvedBinding
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