[][src]Struct embedded_graphics::draw_target::Translated

pub struct Translated<'a, T> where
    T: DrawTarget
{ /* fields omitted */ }

Translated draw target.

Created by calling translated on any DrawTarget. See the translated method documentation for more.

Trait Implementations

impl<'a, T: Debug> Debug for Translated<'a, T> where
    T: DrawTarget
[src]

impl<T, '_> Dimensions for Translated<'_, T> where
    T: DrawTarget
[src]

impl<T, '_> DrawTarget for Translated<'_, T> where
    T: DrawTarget
[src]

type Color = T::Color

The pixel color type the targetted display supports.

type Error = T::Error

Error type to return when a drawing operation fails. Read more

Auto Trait Implementations

impl<'a, T> Send for Translated<'a, T> where
    T: Send

impl<'a, T> Sync for Translated<'a, T> where
    T: Sync

impl<'a, T> Unpin for Translated<'a, T>

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> Dimensions for T where
    T: OriginDimensions
[src]

impl<T> DrawTargetExt for T where
    T: DrawTarget
[src]

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

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

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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<V, T> VZip<V> for T where
    V: MultiLane<T>,