pub struct ProgramAllocation {
pub id: ProgramAllocationId,
pub kind: ProgramAllocationKind,
pub scalar: ScalarType,
pub elements: usize,
pub resources: Vec<ProgramResourceId>,
}Fields§
§id: ProgramAllocationId§kind: ProgramAllocationKind§scalar: ScalarType§elements: usize§resources: Vec<ProgramResourceId>Trait Implementations§
Source§impl Clone for ProgramAllocation
impl Clone for ProgramAllocation
Source§impl Debug for ProgramAllocation
impl Debug for ProgramAllocation
impl Eq for ProgramAllocation
Source§impl PartialEq for ProgramAllocation
impl PartialEq for ProgramAllocation
impl StructuralPartialEq for ProgramAllocation
Auto Trait Implementations§
impl Freeze for ProgramAllocation
impl RefUnwindSafe for ProgramAllocation
impl Send for ProgramAllocation
impl Sync for ProgramAllocation
impl Unpin for ProgramAllocation
impl UnsafeUnpin for ProgramAllocation
impl UnwindSafe for ProgramAllocation
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.