pub enum ResourceProxy {
Buffer(BufferProxy),
BufferRange {
proxy: BufferProxy,
offset: u64,
size: u64,
},
Image(ImageProxy),
}Variants§
Implementations§
Source§impl ResourceProxy
impl ResourceProxy
Trait Implementations§
Source§impl Clone for ResourceProxy
impl Clone for ResourceProxy
Source§fn clone(&self) -> ResourceProxy
fn clone(&self) -> ResourceProxy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResourceProxy
Source§impl From<BufferProxy> for ResourceProxy
impl From<BufferProxy> for ResourceProxy
Source§fn from(value: BufferProxy) -> Self
fn from(value: BufferProxy) -> Self
Converts to this type from the input type.
Source§impl From<ImageProxy> for ResourceProxy
impl From<ImageProxy> for ResourceProxy
Source§fn from(value: ImageProxy) -> Self
fn from(value: ImageProxy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResourceProxy
impl RefUnwindSafe for ResourceProxy
impl Send for ResourceProxy
impl Sync for ResourceProxy
impl Unpin for ResourceProxy
impl UnsafeUnpin for ResourceProxy
impl UnwindSafe for ResourceProxy
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