Struct sourceview5::TagBuilder [−][src]
Implementations
impl TagBuilder
[src]
pub fn new() -> Self
[src]
pub fn build(self) -> Tag
[src]
pub fn draw_spaces(self, draw_spaces: bool) -> Self
[src]
pub fn draw_spaces_set(self, draw_spaces_set: bool) -> Self
[src]
pub fn accumulative_margin(self, accumulative_margin: bool) -> Self
[src]
pub fn allow_breaks(self, allow_breaks: bool) -> Self
[src]
pub fn allow_breaks_set(self, allow_breaks_set: bool) -> Self
[src]
pub fn background(self, background: &str) -> Self
[src]
pub fn background_full_height(self, background_full_height: bool) -> Self
[src]
pub fn background_full_height_set(
self,
background_full_height_set: bool
) -> Self
[src]
self,
background_full_height_set: bool
) -> Self
pub fn background_rgba(self, background_rgba: &RGBA) -> Self
[src]
pub fn background_set(self, background_set: bool) -> Self
[src]
pub fn editable(self, editable: bool) -> Self
[src]
pub fn editable_set(self, editable_set: bool) -> Self
[src]
pub fn fallback(self, fallback: bool) -> Self
[src]
pub fn fallback_set(self, fallback_set: bool) -> Self
[src]
pub fn family(self, family: &str) -> Self
[src]
pub fn family_set(self, family_set: bool) -> Self
[src]
pub fn font(self, font: &str) -> Self
[src]
pub fn font_desc(self, font_desc: &FontDescription) -> Self
[src]
pub fn font_features(self, font_features: &str) -> Self
[src]
pub fn font_features_set(self, font_features_set: bool) -> Self
[src]
pub fn foreground(self, foreground: &str) -> Self
[src]
pub fn foreground_rgba(self, foreground_rgba: &RGBA) -> Self
[src]
pub fn foreground_set(self, foreground_set: bool) -> Self
[src]
pub fn indent(self, indent: i32) -> Self
[src]
pub fn indent_set(self, indent_set: bool) -> Self
[src]
pub fn insert_hyphens(self, insert_hyphens: bool) -> Self
[src]
pub fn insert_hyphens_set(self, insert_hyphens_set: bool) -> Self
[src]
pub fn invisible(self, invisible: bool) -> Self
[src]
pub fn invisible_set(self, invisible_set: bool) -> Self
[src]
pub fn justification_set(self, justification_set: bool) -> Self
[src]
pub fn language(self, language: &str) -> Self
[src]
pub fn language_set(self, language_set: bool) -> Self
[src]
pub fn left_margin(self, left_margin: i32) -> Self
[src]
pub fn left_margin_set(self, left_margin_set: bool) -> Self
[src]
pub fn letter_spacing(self, letter_spacing: i32) -> Self
[src]
pub fn letter_spacing_set(self, letter_spacing_set: bool) -> Self
[src]
pub fn name(self, name: &str) -> Self
[src]
pub fn overline_rgba(self, overline_rgba: &RGBA) -> Self
[src]
pub fn overline_rgba_set(self, overline_rgba_set: bool) -> Self
[src]
pub fn overline_set(self, overline_set: bool) -> Self
[src]
pub fn paragraph_background(self, paragraph_background: &str) -> Self
[src]
pub fn paragraph_background_rgba(self, paragraph_background_rgba: &RGBA) -> Self
[src]
pub fn paragraph_background_set(self, paragraph_background_set: bool) -> Self
[src]
pub fn pixels_above_lines(self, pixels_above_lines: i32) -> Self
[src]
pub fn pixels_above_lines_set(self, pixels_above_lines_set: bool) -> Self
[src]
pub fn pixels_below_lines(self, pixels_below_lines: i32) -> Self
[src]
pub fn pixels_below_lines_set(self, pixels_below_lines_set: bool) -> Self
[src]
pub fn pixels_inside_wrap(self, pixels_inside_wrap: i32) -> Self
[src]
pub fn pixels_inside_wrap_set(self, pixels_inside_wrap_set: bool) -> Self
[src]
pub fn right_margin(self, right_margin: i32) -> Self
[src]
pub fn right_margin_set(self, right_margin_set: bool) -> Self
[src]
pub fn rise(self, rise: i32) -> Self
[src]
pub fn rise_set(self, rise_set: bool) -> Self
[src]
pub fn scale(self, scale: f64) -> Self
[src]
pub fn scale_set(self, scale_set: bool) -> Self
[src]
pub fn show_spaces_set(self, show_spaces_set: bool) -> Self
[src]
pub fn size(self, size: i32) -> Self
[src]
pub fn size_points(self, size_points: f64) -> Self
[src]
pub fn size_set(self, size_set: bool) -> Self
[src]
pub fn stretch_set(self, stretch_set: bool) -> Self
[src]
pub fn strikethrough(self, strikethrough: bool) -> Self
[src]
pub fn strikethrough_rgba(self, strikethrough_rgba: &RGBA) -> Self
[src]
pub fn strikethrough_rgba_set(self, strikethrough_rgba_set: bool) -> Self
[src]
pub fn strikethrough_set(self, strikethrough_set: bool) -> Self
[src]
pub fn style_set(self, style_set: bool) -> Self
[src]
pub fn tabs_set(self, tabs_set: bool) -> Self
[src]
pub fn underline(self, underline: Underline) -> Self
[src]
pub fn underline_rgba(self, underline_rgba: &RGBA) -> Self
[src]
pub fn underline_rgba_set(self, underline_rgba_set: bool) -> Self
[src]
pub fn underline_set(self, underline_set: bool) -> Self
[src]
pub fn variant_set(self, variant_set: bool) -> Self
[src]
pub fn weight(self, weight: i32) -> Self
[src]
pub fn weight_set(self, weight_set: bool) -> Self
[src]
pub fn wrap_mode(self, wrap_mode: WrapMode) -> Self
[src]
pub fn wrap_mode_set(self, wrap_mode_set: bool) -> Self
[src]
Trait Implementations
impl Clone for TagBuilder
[src]
fn clone(&self) -> TagBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for TagBuilder
[src]
fn default() -> TagBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for TagBuilder
impl !Send for TagBuilder
impl !Sync for TagBuilder
impl Unpin for TagBuilder
impl UnwindSafe for TagBuilder
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>,