Struct screen_13::driver::AttachmentInfoBuilder
source · [−]pub struct AttachmentInfoBuilder { /* private fields */ }Expand description
Builder for AttachmentInfo.
Implementations
sourceimpl AttachmentInfoBuilder
impl AttachmentInfoBuilder
pub fn flags(self, value: AttachmentDescriptionFlags) -> Self
pub fn fmt(self, value: Format) -> Self
pub fn sample_count(self, value: SampleCount) -> Self
pub fn load_op(self, value: AttachmentLoadOp) -> Self
pub fn store_op(self, value: AttachmentStoreOp) -> Self
pub fn stencil_load_op(self, value: AttachmentLoadOp) -> Self
pub fn stencil_store_op(self, value: AttachmentStoreOp) -> Self
pub fn initial_layout(self, value: ImageLayout) -> Self
pub fn final_layout(self, value: ImageLayout) -> Self
sourceimpl AttachmentInfoBuilder
impl AttachmentInfoBuilder
pub fn build(self) -> AttachmentInfo
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AttachmentInfoBuilder
impl Send for AttachmentInfoBuilder
impl Sync for AttachmentInfoBuilder
impl Unpin for AttachmentInfoBuilder
impl UnwindSafe for AttachmentInfoBuilder
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