[][src]Struct piet_embedded_graphics::EmbedRenderContext

pub struct EmbedRenderContext {}

Methods

impl EmbedRenderContext[src]

fn convert_brush(&mut self, brush: &Brush) -> Rgb565[src]

Get the source pattern for the brush

Trait Implementations

impl<'a> IntoBrush<EmbedRenderContext> for Brush[src]

impl RenderContext for EmbedRenderContext[src]

type Brush = Brush

The type of a "brush". Read more

type Text = EmbedText

An associated factory for creating text layouts and related resources.

type TextLayout = EmbedTextLayout

Auto Trait Implementations

impl Send for EmbedRenderContext

impl Sync for EmbedRenderContext

impl Unpin for EmbedRenderContext

Blanket Implementations

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

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

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

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

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

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

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 
[src]

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

type Output = T

Should always be Self

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.