pub struct CommandPoolBuilder { /* private fields */ }
Implementations§
Source§impl CommandPoolBuilder
impl CommandPoolBuilder
pub fn new() -> Self
Sourcepub fn with_features(self, flag: CommandPoolFeatures) -> Self
pub fn with_features(self, flag: CommandPoolFeatures) -> Self
Attach command pool create flags to the command pool builder.
Sourcepub fn build<B: Backend>(self, gpu: &Gpu<B>) -> CommandPool<B>
pub fn build<B: Backend>(self, gpu: &Gpu<B>) -> CommandPool<B>
Builds a command pool.
Auto Trait Implementations§
impl Freeze for CommandPoolBuilder
impl RefUnwindSafe for CommandPoolBuilder
impl Send for CommandPoolBuilder
impl Sync for CommandPoolBuilder
impl Unpin for CommandPoolBuilder
impl UnwindSafe for CommandPoolBuilder
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