[][src]Struct penlib::blend::PenBlend

pub struct PenBlend<T: Pen> {
    pub pen_a: T,
    pub pen_b: T,
}

Fields

pen_a: Tpen_b: T

Methods

impl<T: Pen> PenBlend<T>[src]

pub fn new(pen_a: T, pen_b: T) -> Self[src]

Trait Implementations

impl<T: Pen> Pen for PenBlend<T>[src]

impl<T: Clone + Pen> Clone for PenBlend<T>[src]

impl<T: Eq + Pen> Eq for PenBlend<T>[src]

impl<T: PartialEq + Pen> PartialEq<PenBlend<T>> for PenBlend<T>[src]

impl<T: Debug + Pen> Debug for PenBlend<T>[src]

impl<T: Hash + Pen> Hash for PenBlend<T>[src]

Auto Trait Implementations

impl<T> Send for PenBlend<T> where
    T: Send

impl<T> Sync for PenBlend<T> where
    T: Sync

impl<T> Unpin for PenBlend<T> where
    T: Unpin

impl<T> RefUnwindSafe for PenBlend<T> where
    T: RefUnwindSafe

impl<T> UnwindSafe for PenBlend<T> where
    T: UnwindSafe

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]