pub struct Direct3DDevice {
pub device: ID3D11Device,
pub context: ID3D11DeviceContext,
}
Fields§
§device: ID3D11Device
§context: ID3D11DeviceContext
Implementations§
Source§impl Direct3DDevice
impl Direct3DDevice
pub fn new() -> Result<Direct3DDevice>
pub fn set_multithread_protected(&self, value: bool) -> Result<()>
open shared texture.
Trait Implementations§
Source§impl Clone for Direct3DDevice
impl Clone for Direct3DDevice
Source§fn clone(&self) -> Direct3DDevice
fn clone(&self) -> Direct3DDevice
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for Direct3DDevice
impl RefUnwindSafe for Direct3DDevice
impl Send for Direct3DDevice
impl Sync for Direct3DDevice
impl Unpin for Direct3DDevice
impl UnwindSafe for Direct3DDevice
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)