pub struct CustomLayerEncoder {
pub device: Device,
pub queue: Queue,
pub encoder: CommandEncoder,
}Expand description
The frame’s command encoder outside the map’s render pass, for a custom
layer’s prerender. End each pass begun on encoder before the call
returns, and leave the encoder in place.
Fields§
§device: Device§queue: Queue§encoder: CommandEncoderAuto Trait Implementations§
impl !RefUnwindSafe for CustomLayerEncoder
impl !UnwindSafe for CustomLayerEncoder
impl Forget for CustomLayerEncoder
impl Freeze for CustomLayerEncoderwhere
*const ArcInner<CoreDevice> is !null: Freeze,
PhantomData<ArcInner<CoreDevice>>: Freeze,
*const ArcInner<CoreQueue> is !null: Freeze,
PhantomData<ArcInner<CoreQueue>>: Freeze,
*const ArcInner<Global> is !null: Freeze,
PhantomData<ArcInner<Global>>: Freeze,
NonZero<u64>: Freeze,
PhantomData<CommandEncoder>: Freeze,
*const ArcInner<Mutex<ErrorSinkRaw>> is !null: Freeze,
PhantomData<ArcInner<Mutex<ErrorSinkRaw>>>: Freeze,
*const ArcInner<Mutex<DeferredCommandBufferActions>> is !null: Freeze,
PhantomData<ArcInner<Mutex<DeferredCommandBufferActions>>>: Freeze,
impl Move for CustomLayerEncoder
impl Send for CustomLayerEncoder
impl Sync for CustomLayerEncoder
impl Unpin for CustomLayerEncoder
impl UnsafeUnpin for CustomLayerEncoderwhere
*const ArcInner<CoreDevice> is !null: UnsafeUnpin,
PhantomData<ArcInner<CoreDevice>>: UnsafeUnpin,
*const ArcInner<CoreQueue> is !null: UnsafeUnpin,
PhantomData<ArcInner<CoreQueue>>: UnsafeUnpin,
*const ArcInner<Global> is !null: UnsafeUnpin,
PhantomData<ArcInner<Global>>: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
PhantomData<CommandEncoder>: UnsafeUnpin,
*const ArcInner<Mutex<ErrorSinkRaw>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<ErrorSinkRaw>>>: UnsafeUnpin,
*const ArcInner<Mutex<DeferredCommandBufferActions>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<DeferredCommandBufferActions>>>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more