pub struct ProgramResourceFacts {
pub id: ResourceId,
pub name: String,
pub d3d: Option<D3dBinding>,
}Expand description
Just the declared resource’s source address; bulk buffer layouts and default constants stay in the lifted program.
Fields§
§id: ResourceIdThe resource’s id in the program’s interface.
name: StringThe name the source gives the resource (ResourceProvenance::name).
d3d: Option<D3dBinding>The D3D register class, index and space the resource is bound at; None when the source has no such address.
Trait Implementations§
Source§impl Clone for ProgramResourceFacts
impl Clone for ProgramResourceFacts
Source§impl Debug for ProgramResourceFacts
impl Debug for ProgramResourceFacts
impl Eq for ProgramResourceFacts
Source§impl PartialEq for ProgramResourceFacts
impl PartialEq for ProgramResourceFacts
Source§impl Serialize for ProgramResourceFacts
impl Serialize for ProgramResourceFacts
impl StructuralPartialEq for ProgramResourceFacts
Auto Trait Implementations§
impl Forget for ProgramResourceFacts
impl Freeze for ProgramResourceFacts
impl RefUnwindSafe for ProgramResourceFacts
impl Send for ProgramResourceFacts
impl Sync for ProgramResourceFacts
impl Unpin for ProgramResourceFacts
impl UnsafeUnpin for ProgramResourceFacts
impl UnwindSafe for ProgramResourceFacts
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.