Struct wgpu_core::pipeline::PipelineCache
source · pub struct PipelineCache {
pub(crate) raw: ManuallyDrop<Box<dyn DynPipelineCache>>,
pub(crate) device: Arc<Device>,
pub(crate) label: String,
}
Fields§
§raw: ManuallyDrop<Box<dyn DynPipelineCache>>
§device: Arc<Device>
§label: String
The label
from the descriptor used to create the resource.
Implementations§
source§impl PipelineCache
impl PipelineCache
pub(crate) fn raw(&self) -> &dyn DynPipelineCache
Trait Implementations§
source§impl Debug for PipelineCache
impl Debug for PipelineCache
source§impl Drop for PipelineCache
impl Drop for PipelineCache
source§impl Labeled for PipelineCache
impl Labeled for PipelineCache
source§fn label(&self) -> &str
fn label(&self) -> &str
Returns a string identifying this resource for logging and errors. Read more
fn error_ident(&self) -> ResourceErrorIdent
source§impl ParentDevice for PipelineCache
impl ParentDevice for PipelineCache
source§impl ResourceType for PipelineCache
impl ResourceType for PipelineCache
source§impl StorageItem for PipelineCache
impl StorageItem for PipelineCache
type Marker = PipelineCache
Auto Trait Implementations§
impl Freeze for PipelineCache
impl !RefUnwindSafe for PipelineCache
impl Send for PipelineCache
impl Sync for PipelineCache
impl Unpin for PipelineCache
impl !UnwindSafe for PipelineCache
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