pub struct PreferredHwRender {
pub context_type: HwContextType,
pub supports_non_preferred_context: bool,
}Fields§
§context_type: HwContextType§supports_non_preferred_context: boolTrait Implementations§
Source§impl Clone for PreferredHwRender
impl Clone for PreferredHwRender
Source§fn clone(&self) -> PreferredHwRender
fn clone(&self) -> PreferredHwRender
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 PreferredHwRender
impl Debug for PreferredHwRender
Source§impl PartialEq for PreferredHwRender
impl PartialEq for PreferredHwRender
Source§fn eq(&self, other: &PreferredHwRender) -> bool
fn eq(&self, other: &PreferredHwRender) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PreferredHwRender
impl Eq for PreferredHwRender
impl StructuralPartialEq for PreferredHwRender
Auto Trait Implementations§
impl Freeze for PreferredHwRender
impl RefUnwindSafe for PreferredHwRender
impl Send for PreferredHwRender
impl Sync for PreferredHwRender
impl Unpin for PreferredHwRender
impl UnsafeUnpin for PreferredHwRender
impl UnwindSafe for PreferredHwRender
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