pub struct BindGroupEntry {
pub binding: Option<u32>,
pub buffer: Option<Buffer>,
pub offset: Option<u64>,
pub size: Option<u64>,
pub sampler: Option<Sampler>,
pub texture_view: Option<TextureView>,
/* private fields */
}Fields§
§binding: Option<u32>§buffer: Option<Buffer>§offset: Option<u64>§size: Option<u64>§sampler: Option<Sampler>§texture_view: Option<TextureView>Implementations§
Source§impl BindGroupEntry
impl BindGroupEntry
pub fn new() -> Self
pub fn with_extension(self, extension: BindGroupEntryExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BindGroupEntry
impl RefUnwindSafe for BindGroupEntry
impl Send for BindGroupEntry
impl Sync for BindGroupEntry
impl Unpin for BindGroupEntry
impl UnsafeUnpin for BindGroupEntry
impl UnwindSafe for BindGroupEntry
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