Struct vello::BufferProxy
source · pub struct BufferProxy {
pub size: u64,
pub id: ResourceId,
pub name: &'static str,
}
Expand description
Proxy used as a handle to a buffer.
Fields§
§size: u64
§id: ResourceId
§name: &'static str
Implementations§
Trait Implementations§
source§impl Clone for BufferProxy
impl Clone for BufferProxy
source§fn clone(&self) -> BufferProxy
fn clone(&self) -> BufferProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§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.
impl Copy for BufferProxy
Auto Trait Implementations§
impl RefUnwindSafe for BufferProxy
impl Send for BufferProxy
impl Sync for BufferProxy
impl Unpin for BufferProxy
impl UnwindSafe for BufferProxy
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