[][src]Struct druid_shell::windows::paint::PaintCtx

pub struct PaintCtx<'a> { /* fields omitted */ }

Context for painting by app into window.

Methods

impl<'a> PaintCtx<'a>[src]

pub fn d2d_factory(&self) -> &Factory[src]

Return the raw Direct2D factory for this painting context. Note: it's possible this will be wrapped to make it easier to port.

pub fn render_target(&mut self) -> &mut GenericRenderTarget[src]

Return the raw Direct2D RenderTarget for this painting context. Note: it's possible this will be wrapped to make it easier to port.

Auto Trait Implementations

impl<'a> Send for PaintCtx<'a>

impl<'a> Sync for PaintCtx<'a>

impl<'a> Unpin for PaintCtx<'a>

impl<'a> !UnwindSafe for PaintCtx<'a>

impl<'a> RefUnwindSafe for PaintCtx<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> RoundFrom<T> for T

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>,