pub struct VramBufferInfo {
pub buffer_id: usize,
pub size: usize,
pub buffer_type: BufferType,
pub allocated_at: u64,
}
Expand description
VRAM buffer information
Fields§
§buffer_id: usize
Buffer ID
size: usize
Buffer size in bytes
buffer_type: BufferType
Buffer type
allocated_at: u64
Allocation timestamp
Trait Implementations§
Source§impl Clone for VramBufferInfo
impl Clone for VramBufferInfo
Source§fn clone(&self) -> VramBufferInfo
fn clone(&self) -> VramBufferInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for VramBufferInfo
impl RefUnwindSafe for VramBufferInfo
impl Send for VramBufferInfo
impl Sync for VramBufferInfo
impl Unpin for VramBufferInfo
impl UnwindSafe for VramBufferInfo
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