rendy_command

Struct Submit

Source
pub struct Submit<B: Backend, S = NoSimultaneousUse, L = PrimaryLevel, P = OutsideRenderPass> { /* private fields */ }
Expand description

Structure contains command buffer ready for submission.

Trait Implementations§

Source§

impl<B: Debug + Backend, S: Debug, L: Debug, P: Debug> Debug for Submit<B, S, L, P>
where B::CommandBuffer: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a, B, L, P> Submittable<B, L, P> for &'a Submit<B, SimultaneousUse, L, P>
where B: Backend,

Source§

fn family(&self) -> FamilyId

Get family that this submittable is belong to.
Source§

unsafe fn raw<'b>(self) -> &'b B::CommandBuffer

Get raw command buffer. This function is intended for submitting command buffer into raw queue. Read more
Source§

impl<B, S, L, P> Submittable<B, L, P> for Submit<B, S, L, P>
where B: Backend,

Source§

fn family(&self) -> FamilyId

Get family that this submittable is belong to.
Source§

unsafe fn raw<'a>(self) -> &'a B::CommandBuffer

Get raw command buffer. This function is intended for submitting command buffer into raw queue. Read more
Source§

impl<B, S, L, P> Send for Submit<B, S, L, P>
where B: Backend, B::CommandBuffer: Send + Sync, FamilyId: Send, S: Send, L: Send, P: Send,

Source§

impl<B, S, L, P> Sync for Submit<B, S, L, P>
where B: Backend, B::CommandBuffer: Send + Sync, S: Sync, L: Sync, P: Sync,

Auto Trait Implementations§

§

impl<B, S, L, P> Freeze for Submit<B, S, L, P>
where S: Freeze, L: Freeze, P: Freeze,

§

impl<B, S, L, P> RefUnwindSafe for Submit<B, S, L, P>

§

impl<B, S, L, P> Unpin for Submit<B, S, L, P>
where S: Unpin, L: Unpin, P: Unpin,

§

impl<B, S, L, P> UnwindSafe for Submit<B, S, L, P>

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<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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.