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
Performs the conversion.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().