pub struct SharedVulkanChoice<T = SharedVulkanContext> {
pub context: Option<T>,
pub report: AdapterChoiceReport,
pub unavailable: Option<String>,
}Expand description
The shared device the adapter choice made, its report, and why there is none if so.
Fields§
§context: Option<T>The shared device, when one was made.
report: AdapterChoiceReportWhich adapter the policy took and why, with every Vulkan adapter’s record.
Why no shared device was made although one was wanted.
Auto Trait Implementations§
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