Struct screen_13::driver::DescriptorPoolInfoBuilder
source · [−]pub struct DescriptorPoolInfoBuilder { /* private fields */ }Expand description
Builder for DescriptorPoolInfo.
Implementations
sourceimpl DescriptorPoolInfoBuilder
impl DescriptorPoolInfoBuilder
pub fn max_sets(self, value: u32) -> Self
pub fn pool_sizes(self, value: Vec<DescriptorPoolSize>) -> Self
sourcepub fn build(self) -> Result<DescriptorPoolInfo, DescriptorPoolInfoBuilderError>
pub fn build(self) -> Result<DescriptorPoolInfo, DescriptorPoolInfoBuilderError>
Trait Implementations
sourceimpl Debug for DescriptorPoolInfoBuilder
impl Debug for DescriptorPoolInfoBuilder
sourceimpl Default for DescriptorPoolInfoBuilder
impl Default for DescriptorPoolInfoBuilder
sourceimpl From<DescriptorPoolInfoBuilder> for DescriptorPoolInfo
impl From<DescriptorPoolInfoBuilder> for DescriptorPoolInfo
sourcefn from(info: DescriptorPoolInfoBuilder) -> Self
fn from(info: DescriptorPoolInfoBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for DescriptorPoolInfoBuilder
impl Send for DescriptorPoolInfoBuilder
impl Sync for DescriptorPoolInfoBuilder
impl Unpin for DescriptorPoolInfoBuilder
impl UnwindSafe for DescriptorPoolInfoBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more