pub struct RequiredGraphics {
pub description: Option<String>,
pub single_device: Option<bool>,
pub required_cl_device: Option<RequiredClDevice>,
pub required_gl_renderer: Option<RequiredGlRenderer>,
}
Fields§
§description: Option<String>
§single_device: Option<bool>
§required_cl_device: Option<RequiredClDevice>
§required_gl_renderer: Option<RequiredGlRenderer>
Trait Implementations§
Source§impl Clone for RequiredGraphics
impl Clone for RequiredGraphics
Source§fn clone(&self) -> RequiredGraphics
fn clone(&self) -> RequiredGraphics
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 Debug for RequiredGraphics
impl Debug for RequiredGraphics
Source§impl<'de> Deserialize<'de> for RequiredGraphics
impl<'de> Deserialize<'de> for RequiredGraphics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RequiredGraphics
impl PartialEq for RequiredGraphics
Source§impl Serialize for RequiredGraphics
impl Serialize for RequiredGraphics
impl Eq for RequiredGraphics
impl StructuralPartialEq for RequiredGraphics
Auto Trait Implementations§
impl Freeze for RequiredGraphics
impl RefUnwindSafe for RequiredGraphics
impl Send for RequiredGraphics
impl Sync for RequiredGraphics
impl Unpin for RequiredGraphics
impl UnwindSafe for RequiredGraphics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)