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