Struct gfx_core::dummy::DummyDevice [−][src]
pub struct DummyDevice { /* fields omitted */ }
Dummy device which does minimal work, just to allow testing gfx-rs apps for compilation.
Implementations
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 RefUnwindSafe for DummyDevice
impl Send for DummyDevice
impl Sync for DummyDevice
impl Unpin for DummyDevice
impl UnwindSafe for DummyDevice
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>,