#[repr(C)]pub struct GPUMemoryCustom {
pub min: u64,
pub max: u64,
}Expand description
with this struct you set min - max of memory you will need in gpu side
Fields§
§min: u64min mem needed in gpu side
max: u64max mem needed in gpu side
Trait Implementations§
Source§impl Clone for GPUMemoryCustom
impl Clone for GPUMemoryCustom
Source§fn clone(&self) -> GPUMemoryCustom
fn clone(&self) -> GPUMemoryCustom
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GPUMemoryCustom
impl Debug for GPUMemoryCustom
Source§impl Default for GPUMemoryCustom
impl Default for GPUMemoryCustom
Source§fn default() -> GPUMemoryCustom
fn default() -> GPUMemoryCustom
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GPUMemoryCustom
impl RefUnwindSafe for GPUMemoryCustom
impl Send for GPUMemoryCustom
impl Sync for GPUMemoryCustom
impl Unpin for GPUMemoryCustom
impl UnwindSafe for GPUMemoryCustom
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)