Skip to main content

State

pub trait State<'a> {
    type Label: Field;
    type ColorAttachments: Field;
    type DepthStencilAttachment: Field;
    type TimestampWrites: Field;
    type OcclusionQuerySet: Field;
    type MultiviewMask: Field;
}

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, CS: State<'a>> State<'a> for SetColorAttachments<CS>

Source§

impl<'a, CS: State<'a>> State<'a> for SetDepthStencilAttachment<CS>

Source§

impl<'a, CS: State<'a>> State<'a> for SetLabel<CS>

Source§

impl<'a, CS: State<'a>> State<'a> for SetMultiviewMask<CS>

Source§

impl<'a, CS: State<'a>> State<'a> for SetOcclusionQuerySet<CS>

Source§

impl<'a, CS: State<'a>> State<'a> for SetTimestampWrites<CS>

Source§

impl<'a> State<'a> for Empty