pub(crate) struct AttachmentData<T> {
    pub colors: ArrayVec<Option<T>, { hal::MAX_COLOR_ATTACHMENTS }>,
    pub resolves: ArrayVec<T, { hal::MAX_COLOR_ATTACHMENTS }>,
    pub depth_stencil: Option<T>,
}Fields§
§colors: ArrayVec<Option<T>, { hal::MAX_COLOR_ATTACHMENTS }>§resolves: ArrayVec<T, { hal::MAX_COLOR_ATTACHMENTS }>§depth_stencil: Option<T>Trait Implementations§
Source§impl<T: Clone> Clone for AttachmentData<T>
 
impl<T: Clone> Clone for AttachmentData<T>
Source§fn clone(&self) -> AttachmentData<T>
 
fn clone(&self) -> AttachmentData<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl<T: Debug> Debug for AttachmentData<T>
 
impl<T: Debug> Debug for AttachmentData<T>
Source§impl<'de, T> Deserialize<'de> for AttachmentData<T>where
    T: Deserialize<'de>,
 
impl<'de, T> Deserialize<'de> for AttachmentData<T>where
    T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T: Hash> Hash for AttachmentData<T>
 
impl<T: Hash> Hash for AttachmentData<T>
Source§impl<T: PartialEq> PartialEq for AttachmentData<T>
 
impl<T: PartialEq> PartialEq for AttachmentData<T>
Source§impl<T> Serialize for AttachmentData<T>where
    T: Serialize,
 
impl<T> Serialize for AttachmentData<T>where
    T: Serialize,
impl<T: PartialEq> Eq for AttachmentData<T>
impl<T> StructuralPartialEq for AttachmentData<T>
Auto Trait Implementations§
impl<T> Freeze for AttachmentData<T>where
    T: Freeze,
impl<T> RefUnwindSafe for AttachmentData<T>where
    T: RefUnwindSafe,
impl<T> Send for AttachmentData<T>where
    T: Send,
impl<T> Sync for AttachmentData<T>where
    T: Sync,
impl<T> Unpin for AttachmentData<T>where
    T: Unpin,
impl<T> UnwindSafe for AttachmentData<T>where
    T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.