Skip to main content

SetTask

pub struct SetTask<CS>(/* private fields */);

Trait Implementations§

Source§

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

Source§

type Label = <CS as State<'a>>::Label

Source§

type Layout = <CS as State<'a>>::Layout

Source§

type Task = TaskValue<'a>

Source§

type Mesh = <CS as State<'a>>::Mesh

Source§

type Primitive = <CS as State<'a>>::Primitive

Source§

type DepthStencil = <CS as State<'a>>::DepthStencil

Source§

type Multisample = <CS as State<'a>>::Multisample

Source§

type Fragment = <CS as State<'a>>::Fragment

Source§

type Multiview = <CS as State<'a>>::Multiview

Source§

type Cache = <CS as State<'a>>::Cache

Auto Trait Implementations§

§

impl<CS> Forget for SetTask<CS>

§

impl<CS> Freeze for SetTask<CS>
where CS: Freeze,

§

impl<CS> RefUnwindSafe for SetTask<CS>
where CS: RefUnwindSafe,

§

impl<CS> Send for SetTask<CS>
where CS: Send,

§

impl<CS> Sync for SetTask<CS>
where CS: Sync,

§

impl<CS> Unpin for SetTask<CS>
where CS: Unpin,

§

impl<CS> UnsafeUnpin for SetTask<CS>
where CS: UnsafeUnpin,

§

impl<CS> UnwindSafe for SetTask<CS>
where CS: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<'a, CS> Complete<'a> for CS
where CS: State<'a>, <CS as State<'a>>::Label: IsSetLabel<'a>, <CS as State<'a>>::Layout: IsSetLayout<'a>, <CS as State<'a>>::Task: IsSetTask<'a>, <CS as State<'a>>::Mesh: IsSetMesh<'a>, <CS as State<'a>>::Primitive: IsSetPrimitive, <CS as State<'a>>::DepthStencil: IsSetDepthStencil, <CS as State<'a>>::Multisample: IsSetMultisample, <CS as State<'a>>::Fragment: IsSetFragment<'a>, <CS as State<'a>>::Multiview: IsSetMultiview, <CS as State<'a>>::Cache: IsSetCache<'a>,

Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>

Source§

impl<T> WasmNotSend for T
where T: Send,

Source§

impl<T> WasmNotSendSync for T

Source§

impl<T> WasmNotSync for T
where T: Sync,