pub struct BindingEntry {
pub name: &'static str,
pub kind: BindingKind,
}Fields§
§name: &'static str§kind: BindingKindImplementations§
Source§impl BindingEntry
impl BindingEntry
pub fn texture(name: &'static str) -> Self
pub fn sampler(name: &'static str) -> Self
pub fn buffer(name: &'static str) -> Self
pub fn cubemap(name: &'static str) -> Self
pub fn texture_array(name: &'static str) -> Self
pub fn comparison_sampler(name: &'static str) -> Self
pub fn layout_entry(&self, binding: u32) -> BindGroupLayoutEntry
Auto Trait Implementations§
impl Freeze for BindingEntry
impl RefUnwindSafe for BindingEntry
impl Send for BindingEntry
impl Sync for BindingEntry
impl Unpin for BindingEntry
impl UnsafeUnpin for BindingEntry
impl UnwindSafe for BindingEntry
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