pub enum GraphicsPreference {
Auto,
OpenGl,
Vulkan,
Metal,
Software,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GraphicsPreference
impl Clone for GraphicsPreference
Source§fn clone(&self) -> GraphicsPreference
fn clone(&self) -> GraphicsPreference
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 GraphicsPreference
Source§impl Debug for GraphicsPreference
impl Debug for GraphicsPreference
Source§impl Default for GraphicsPreference
impl Default for GraphicsPreference
Source§fn default() -> GraphicsPreference
fn default() -> GraphicsPreference
Returns the “default value” for a type. Read more
impl Eq for GraphicsPreference
Source§impl PartialEq for GraphicsPreference
impl PartialEq for GraphicsPreference
impl StructuralPartialEq for GraphicsPreference
Auto Trait Implementations§
impl Freeze for GraphicsPreference
impl RefUnwindSafe for GraphicsPreference
impl Send for GraphicsPreference
impl Sync for GraphicsPreference
impl Unpin for GraphicsPreference
impl UnsafeUnpin for GraphicsPreference
impl UnwindSafe for GraphicsPreference
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