Struct wgpu_core::global::GlobalReport
source · pub struct GlobalReport {
pub surfaces: RegistryReport,
pub vulkan: Option<HubReport>,
pub gl: Option<HubReport>,
}
Fields§
§surfaces: RegistryReport
§vulkan: Option<HubReport>
§gl: Option<HubReport>
Implementations§
source§impl GlobalReport
impl GlobalReport
pub fn surfaces(&self) -> &RegistryReport
pub fn hub_report(&self, backend: Backend) -> &HubReport
Trait Implementations§
source§impl Debug for GlobalReport
impl Debug for GlobalReport
source§impl PartialEq for GlobalReport
impl PartialEq for GlobalReport
source§fn eq(&self, other: &GlobalReport) -> bool
fn eq(&self, other: &GlobalReport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GlobalReport
impl StructuralPartialEq for GlobalReport
Auto Trait Implementations§
impl Freeze for GlobalReport
impl RefUnwindSafe for GlobalReport
impl Send for GlobalReport
impl Sync for GlobalReport
impl Unpin for GlobalReport
impl UnwindSafe for GlobalReport
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.