Struct wgpu_core::hub::Hubs[][src]

pub struct Hubs<F: GlobalIdentityHandlerFactory> { /* fields omitted */ }

Trait Implementations

impl<F: Debug + GlobalIdentityHandlerFactory> Debug for Hubs<F>[src]

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<F> !RefUnwindSafe for Hubs<F>

impl<F> Send for Hubs<F> where
    <F as IdentityHandlerFactory<Id<Adapter<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<BindGroup<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<BindGroupLayout<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<Buffer<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<CommandBuffer<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<ComputePipeline<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<Device<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<PipelineLayout<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<QuerySet<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<RenderBundle>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<RenderPipeline<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<Sampler<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<ShaderModule<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<SwapChain<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<Texture<Backend>>>>::Filter: Send,
    <F as IdentityHandlerFactory<Id<TextureView<Backend>>>>::Filter: Send

impl<F> Sync for Hubs<F> where
    <F as IdentityHandlerFactory<Id<Adapter<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<BindGroup<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<BindGroupLayout<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<Buffer<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<CommandBuffer<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<ComputePipeline<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<Device<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<PipelineLayout<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<QuerySet<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<RenderBundle>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<RenderPipeline<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<Sampler<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<ShaderModule<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<SwapChain<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<Texture<Backend>>>>::Filter: Sync,
    <F as IdentityHandlerFactory<Id<TextureView<Backend>>>>::Filter: Sync

impl<F> Unpin for Hubs<F> where
    <F as IdentityHandlerFactory<Id<Adapter<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<BindGroup<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<BindGroupLayout<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<Buffer<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<CommandBuffer<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<ComputePipeline<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<Device<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<PipelineLayout<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<QuerySet<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<RenderBundle>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<RenderPipeline<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<Sampler<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<ShaderModule<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<SwapChain<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<Texture<Backend>>>>::Filter: Unpin,
    <F as IdentityHandlerFactory<Id<TextureView<Backend>>>>::Filter: Unpin

impl<F> !UnwindSafe for Hubs<F>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> Downcast<T> for T

pub fn downcast(&self) -> &T

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

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]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<T> Upcast<T> for T

pub fn upcast(&self) -> Option<&T>