pub struct D2DDeviceContext {
pub device: ID3D11Device,
pub factory: ID2D1Factory,
pub dwrite_factory: IDWriteFactory,
}
Fields§
§device: ID3D11Device
§factory: ID2D1Factory
§dwrite_factory: IDWriteFactory
Trait Implementations§
Source§impl Clone for D2DDeviceContext
impl Clone for D2DDeviceContext
Source§fn clone(&self) -> D2DDeviceContext
fn clone(&self) -> D2DDeviceContext
Returns a duplicate 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 moreSource§impl Debug for D2DDeviceContext
impl Debug for D2DDeviceContext
Source§impl DeviceContextBackend for D2DDeviceContext
impl DeviceContextBackend for D2DDeviceContext
fn new() -> Result<Self, GraphicsError>
Auto Trait Implementations§
impl Freeze for D2DDeviceContext
impl RefUnwindSafe for D2DDeviceContext
impl Send for D2DDeviceContext
impl Sync for D2DDeviceContext
impl Unpin for D2DDeviceContext
impl UnwindSafe for D2DDeviceContext
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