pub struct ResourceDesc {
pub name: String,
pub initial: Layout,
}Expand description
Eine Graph-Ressource (Textur oder Buffer) mit ihrem Start-Zustand.
Fields§
§name: String§initial: LayoutZustand vor dem ersten Zugriff (z. B. Layout::Undefined für
eine frische Render-Target-Textur).
Trait Implementations§
Source§impl Clone for ResourceDesc
impl Clone for ResourceDesc
Source§fn clone(&self) -> ResourceDesc
fn clone(&self) -> ResourceDesc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResourceDesc
impl Debug for ResourceDesc
impl Eq for ResourceDesc
Source§impl PartialEq for ResourceDesc
impl PartialEq for ResourceDesc
Source§fn eq(&self, other: &ResourceDesc) -> bool
fn eq(&self, other: &ResourceDesc) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResourceDesc
Auto Trait Implementations§
impl Freeze for ResourceDesc
impl RefUnwindSafe for ResourceDesc
impl Send for ResourceDesc
impl Sync for ResourceDesc
impl Unpin for ResourceDesc
impl UnsafeUnpin for ResourceDesc
impl UnwindSafe for ResourceDesc
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