[−][src]Struct web_glitz::buffer::UploadCommand
Command for uploading data to a Buffer or a sub-section of a buffer as viewed by a BufferView.
See Buffer::upload_command and BufferView::upload_command for details.
Trait Implementations
impl<T, D> GpuTask<Connection> for UploadCommand<T, D> where
D: Borrow<T>,
[src]
D: Borrow<T>,
type Output = ()
The type of output that results from this task finishing.
fn context_id(&self) -> ContextId
[src]
fn progress(&mut self, connection: &mut Connection) -> Progress<Self::Output>
[src]
impl<T, D> GpuTask<Connection> for UploadCommand<[T], D> where
D: Borrow<[T]>,
[src]
D: Borrow<[T]>,
type Output = ()
The type of output that results from this task finishing.
fn context_id(&self) -> ContextId
[src]
fn progress(&mut self, connection: &mut Connection) -> Progress<Self::Output>
[src]
Auto Trait Implementations
impl<T, D> !RefUnwindSafe for UploadCommand<T, D>
impl<T, D> !Send for UploadCommand<T, D>
impl<T, D> !Sync for UploadCommand<T, D>
impl<T: ?Sized, D> Unpin for UploadCommand<T, D> where
D: Unpin,
T: Unpin,
D: Unpin,
T: Unpin,
impl<T, D> !UnwindSafe for UploadCommand<T, D>
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,
pub 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,
pub fn into_buffer<Rc>(Self, &Rc, BufferId, UsageHint) -> Buffer<T> where
Rc: RenderingContext + Clone + 'static,
[src]
Rc: RenderingContext + Clone + 'static,
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.
pub 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>,