[−][src]Struct gfx_core::dummy::DummyDevice
Dummy device which does minimal work, just to allow testing gfx-rs apps for compilation.
Methods
impl DummyDevice
[src]
pub fn new() -> DummyDevice
[src]
Create a new dummy device
Trait Implementations
impl Device for DummyDevice
[src]
type Resources = DummyResources
Associated Resources
type.
type CommandBuffer = DummyCommandBuffer
Associated CommandBuffer
type. Every Device
type can only work with one CommandBuffer
type. Read more
fn get_capabilities(&self) -> &Capabilities
[src]
fn pin_submitted_resources(&mut self, _: &Manager<DummyResources>)
[src]
fn submit(
&mut self,
_: &mut DummyCommandBuffer,
_: &AccessInfo<Self::Resources>
) -> SubmissionResult<()>
[src]
&mut self,
_: &mut DummyCommandBuffer,
_: &AccessInfo<Self::Resources>
) -> SubmissionResult<()>
fn fenced_submit(
&mut self,
_: &mut Self::CommandBuffer,
_: &AccessInfo<Self::Resources>,
_after: Option<Fence<Self::Resources>>
) -> SubmissionResult<Fence<Self::Resources>>
[src]
&mut self,
_: &mut Self::CommandBuffer,
_: &AccessInfo<Self::Resources>,
_after: Option<Fence<Self::Resources>>
) -> SubmissionResult<Fence<Self::Resources>>
fn wait_fence(&mut self, _: &Fence<Self::Resources>)
[src]
fn cleanup(&mut self)
[src]
Auto Trait Implementations
impl Send for DummyDevice
impl Sync for DummyDevice
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,