Struct poloto::StyleBuilder[][src]

pub struct StyleBuilder<A, B, C> { /* fields omitted */ }

Create a custom style poloto style

Implementations

impl StyleBuilder<&'static str, &'static str, &'static str>[src]

pub fn new() -> Self[src]

impl<A: Display, B: Display, C: Display> StyleBuilder<A, B, C>[src]

pub fn with_text_color<X: Display>(self, text_color: X) -> StyleBuilder<X, B, C>[src]

pub fn with_back_color<X: Display>(self, back_color: X) -> StyleBuilder<A, X, C>[src]

pub fn with_colors<X: Display>(self, colors: [X; 8]) -> StyleBuilder<A, B, X>[src]

pub fn build_with_css_variables(self) -> impl Display[src]

pub fn build(self) -> impl Display[src]

Trait Implementations

impl Default for StyleBuilder<&'static str, &'static str, &'static str>[src]

Auto Trait Implementations

impl<A, B, C> RefUnwindSafe for StyleBuilder<A, B, C> where
    A: RefUnwindSafe,
    B: RefUnwindSafe,
    C: RefUnwindSafe

impl<A, B, C> Send for StyleBuilder<A, B, C> where
    A: Send,
    B: Send,
    C: Send

impl<A, B, C> Sync for StyleBuilder<A, B, C> where
    A: Sync,
    B: Sync,
    C: Sync

impl<A, B, C> Unpin for StyleBuilder<A, B, C> where
    A: Unpin,
    B: Unpin,
    C: Unpin

impl<A, B, C> UnwindSafe for StyleBuilder<A, B, C> where
    A: UnwindSafe,
    B: UnwindSafe,
    C: UnwindSafe

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.