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) -> Result<()>
Auto Trait Implementations§
impl Freeze for Direct2D
impl RefUnwindSafe for Direct2D
impl Send for Direct2D
impl Sync for Direct2D
impl Unpin for Direct2D
impl UnsafeUnpin 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