Struct screen_13::driver::AttachmentInfo
source · [−]pub struct AttachmentInfo {
pub flags: AttachmentDescriptionFlags,
pub fmt: Format,
pub sample_count: SampleCount,
pub load_op: AttachmentLoadOp,
pub store_op: AttachmentStoreOp,
pub stencil_load_op: AttachmentLoadOp,
pub stencil_store_op: AttachmentStoreOp,
pub initial_layout: ImageLayout,
pub final_layout: ImageLayout,
}Fields
flags: AttachmentDescriptionFlagsfmt: Formatsample_count: SampleCountload_op: AttachmentLoadOpstore_op: AttachmentStoreOpstencil_load_op: AttachmentLoadOpstencil_store_op: AttachmentStoreOpinitial_layout: ImageLayoutfinal_layout: ImageLayoutImplementations
sourceimpl AttachmentInfo
impl AttachmentInfo
pub fn new(fmt: Format, sample_count: SampleCount) -> AttachmentInfoBuilder
pub fn into_vk(self) -> AttachmentDescription2
Trait Implementations
sourceimpl Clone for AttachmentInfo
impl Clone for AttachmentInfo
sourcefn clone(&self) -> AttachmentInfo
fn clone(&self) -> AttachmentInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AttachmentInfo
impl Debug for AttachmentInfo
sourceimpl Hash for AttachmentInfo
impl Hash for AttachmentInfo
sourceimpl PartialEq<AttachmentInfo> for AttachmentInfo
impl PartialEq<AttachmentInfo> for AttachmentInfo
sourcefn eq(&self, other: &AttachmentInfo) -> bool
fn eq(&self, other: &AttachmentInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AttachmentInfo) -> bool
fn ne(&self, other: &AttachmentInfo) -> bool
This method tests for !=.
impl Copy for AttachmentInfo
impl Eq for AttachmentInfo
impl StructuralEq for AttachmentInfo
impl StructuralPartialEq for AttachmentInfo
Auto Trait Implementations
impl RefUnwindSafe for AttachmentInfo
impl Send for AttachmentInfo
impl Sync for AttachmentInfo
impl Unpin for AttachmentInfo
impl UnwindSafe for AttachmentInfo
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