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