[−][src]Struct web_glitz::pipeline::resources::LayoutAllocationHint
Hint for a [ResourceBindingsLayoutDescriptorBuilder] that indicates how much memory is required to accommodate the result.
See [ResourceBindingsLayoutDescriptorBuilder::new].
Fields
bind_groups: usizeThe number of bind groups the layout will declare.
total_resource_slots: usizeThe total number of resource slots the layout will declare across all bind groups.
Trait Implementations
impl Clone for LayoutAllocationHint[src]
fn clone(&self) -> LayoutAllocationHint[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for LayoutAllocationHint[src]
impl Debug for LayoutAllocationHint[src]
impl Eq for LayoutAllocationHint[src]
impl PartialEq<LayoutAllocationHint> for LayoutAllocationHint[src]
fn eq(&self, other: &LayoutAllocationHint) -> bool[src]
fn ne(&self, other: &LayoutAllocationHint) -> bool[src]
impl StructuralEq for LayoutAllocationHint[src]
impl StructuralPartialEq for LayoutAllocationHint[src]
Auto Trait Implementations
impl RefUnwindSafe for LayoutAllocationHint
impl Send for LayoutAllocationHint
impl Sync for LayoutAllocationHint
impl Unpin for LayoutAllocationHint
impl UnwindSafe for LayoutAllocationHint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<D, T> IntoBuffer<T> for D where
D: Borrow<T> + 'static,
T: Copy + 'static, [src]
D: Borrow<T> + 'static,
T: Copy + 'static,
fn into_buffer<Rc>(Self, &Rc, BufferId, UsageHint) -> Buffer<T> where
Rc: RenderingContext + Clone + 'static, [src]
Rc: RenderingContext + Clone + 'static,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,