Struct poloto::StyleBuilder [−][src]
Create a custom style poloto style
Implementations
impl StyleBuilder<&'static str, &'static str, &'static str>
[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
Auto Trait Implementations
impl<A, B, C> RefUnwindSafe for StyleBuilder<A, B, C> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
impl<A, B, C> Send for StyleBuilder<A, B, C> where
A: Send,
B: Send,
C: Send,
A: Send,
B: Send,
C: Send,
impl<A, B, C> Sync for StyleBuilder<A, B, C> where
A: Sync,
B: Sync,
C: Sync,
A: Sync,
B: Sync,
C: Sync,
impl<A, B, C> Unpin for StyleBuilder<A, B, C> where
A: Unpin,
B: Unpin,
C: Unpin,
A: Unpin,
B: Unpin,
C: Unpin,
impl<A, B, C> UnwindSafe for StyleBuilder<A, B, C> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,