pub struct TextureData {
pub texture_view: TextureView,
pub sampler: Sampler,
}
Fields§
§texture_view: TextureView
§sampler: Sampler
Implementations§
Source§impl TextureData
impl TextureData
pub fn new(texture_view: TextureView, sampler: Sampler) -> Self
Auto Trait Implementations§
impl Freeze for TextureData
impl !RefUnwindSafe for TextureData
impl Send for TextureData
impl Sync for TextureData
impl Unpin for TextureData
impl !UnwindSafe for TextureData
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