[][src]Struct imgflip::CaptionBoxBuilder

pub struct CaptionBoxBuilder { /* fields omitted */ }

Builder for CaptionBox

Methods

impl CaptionBoxBuilder[src]

pub fn new<S: Into<String>>(text: S) -> Self[src]

pub fn dimension(self, x: u32, y: u32, width: u32, height: u32) -> Self[src]

pub fn color<S: Into<String>>(self, color: S) -> Self[src]

pub fn outline_color<S: Into<String>>(self, outline_color: S) -> Self[src]

pub fn build(self) -> CaptionBox[src]

Auto Trait Implementations

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, 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.