Struct gfx::pso::bundle::Bundle [−][src]
Slice-PSO bundle.
Fields
slice: Slice<R>
Slice
pso: PipelineState<R, Data::Meta>
Pipeline state
data: Data
Pipeline data
Implementations
impl<R: Resources, Data: PipelineData<R>> Bundle<R, Data>
[src]
pub fn new(
slice: Slice<R>,
pso: PipelineState<R, Data::Meta>,
data: Data
) -> Self
[src]
slice: Slice<R>,
pso: PipelineState<R, Data::Meta>,
data: Data
) -> Self
Create new Bundle
pub fn encode<C>(&self, encoder: &mut Encoder<R, C>) where
C: CommandBuffer<R>,
[src]
C: CommandBuffer<R>,
Draw bundle using encoder.
Auto Trait Implementations
impl<R, Data> !RefUnwindSafe for Bundle<R, Data>
impl<R, Data> Send for Bundle<R, Data> where
Data: Send,
<Data as PipelineData<R>>::Meta: Send,
Data: Send,
<Data as PipelineData<R>>::Meta: Send,
impl<R, Data> Sync for Bundle<R, Data> where
Data: Sync,
<Data as PipelineData<R>>::Meta: Sync,
Data: Sync,
<Data as PipelineData<R>>::Meta: Sync,
impl<R, Data> Unpin for Bundle<R, Data> where
Data: Unpin,
<Data as PipelineData<R>>::Meta: Unpin,
Data: Unpin,
<Data as PipelineData<R>>::Meta: Unpin,
impl<R, Data> !UnwindSafe for Bundle<R, Data>
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<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>,