Struct sourceview5::StyleBuilder [−][src]
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_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]
fn clone(&self) -> StyleBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for StyleBuilder
[src]
fn default() -> StyleBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for StyleBuilder
impl Send for StyleBuilder
impl Sync for StyleBuilder
impl Unpin for StyleBuilder
impl UnwindSafe for StyleBuilder
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,