[][src]Struct sourceview::StyleBuilder

pub struct StyleBuilder { /* fields omitted */ }

Implementations

impl StyleBuilder[src]

pub fn new() -> Self[src]

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

pub fn background(self, background: &str) -> Self[src]

pub fn background_set(self, background_set: bool) -> Self[src]

pub fn bold(self, bold: bool) -> Self[src]

pub fn bold_set(self, bold_set: bool) -> Self[src]

pub fn foreground(self, foreground: &str) -> Self[src]

pub fn foreground_set(self, foreground_set: bool) -> Self[src]

pub fn italic(self, italic: bool) -> Self[src]

pub fn italic_set(self, italic_set: bool) -> Self[src]

pub fn line_background(self, line_background: &str) -> Self[src]

pub fn line_background_set(self, line_background_set: bool) -> Self[src]

pub fn pango_underline(self, pango_underline: Underline) -> Self[src]

pub fn scale(self, scale: &str) -> Self[src]

pub fn scale_set(self, scale_set: bool) -> Self[src]

pub fn strikethrough(self, strikethrough: bool) -> Self[src]

pub fn strikethrough_set(self, strikethrough_set: bool) -> Self[src]

pub fn underline(self, underline: bool) -> Self[src]

pub fn underline_color(self, underline_color: &str) -> Self[src]

pub fn underline_color_set(self, underline_color_set: bool) -> Self[src]

pub fn underline_set(self, underline_set: bool) -> Self[src]

Trait Implementations

impl Clone for StyleBuilder[src]

impl Default for StyleBuilder[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> 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.