pub struct DeviceBuilder { /* private fields */ }
Implementations§
Source§impl DeviceBuilder
impl DeviceBuilder
pub fn new( physical_device: PhysicalDevice, instance: Arc<Instance>, ) -> DeviceBuilder
pub fn allocation_callbacks( self, allocation_callbacks: AllocationCallbacks<'static>, ) -> Self
pub fn build(self) -> Result<Device>
Auto Trait Implementations§
impl Freeze for DeviceBuilder
impl RefUnwindSafe for DeviceBuilder
impl Send for DeviceBuilder
impl Sync for DeviceBuilder
impl Unpin for DeviceBuilder
impl UnwindSafe for DeviceBuilder
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