pub struct Direct2D { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Backend for Direct2D
impl Backend for Direct2D
type RenderTarget = RenderTarget
fn d2d1_device(&self) -> &ID2D1Device5
fn d2d1_factory(&self) -> &ID2D1Factory6
fn begin_draw(&self, target: &Self::RenderTarget)
fn end_draw(&self, target: &Self::RenderTarget, ret: Result<()>) -> Result<()>
Auto Trait Implementations§
impl RefUnwindSafe for Direct2D
impl Send for Direct2D
impl Sync for Direct2D
impl Unpin for Direct2D
impl UnwindSafe for Direct2D
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