pub enum BudgetSource {
Vram,
UnifiedMemory,
SystemRam,
}Expand description
Variants§
Vram
Discrete GPU VRAM.
UnifiedMemory
Apple Silicon unified memory.
SystemRam
Host RAM — either a CPU-only machine, or a GPU whose VRAM gglib cannot read.
Implementations§
Trait Implementations§
Source§impl Clone for BudgetSource
impl Clone for BudgetSource
Source§fn clone(&self) -> BudgetSource
fn clone(&self) -> BudgetSource
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 moreSource§impl Debug for BudgetSource
impl Debug for BudgetSource
Source§impl PartialEq for BudgetSource
impl PartialEq for BudgetSource
Source§fn eq(&self, other: &BudgetSource) -> bool
fn eq(&self, other: &BudgetSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BudgetSource
impl Eq for BudgetSource
impl StructuralPartialEq for BudgetSource
Auto Trait Implementations§
impl Freeze for BudgetSource
impl RefUnwindSafe for BudgetSource
impl Send for BudgetSource
impl Sync for BudgetSource
impl Unpin for BudgetSource
impl UnsafeUnpin for BudgetSource
impl UnwindSafe for BudgetSource
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