Struct pango::Attribute
[−]
pub struct Attribute(_);
Methods
impl Attribute
[src]
impl Attribute
[src]
fn new_background(red: u16, green: u16, blue: u16) -> Option<Attribute>
fn new_fallback(enable_fallback: bool) -> Option<Attribute>
fn new_family(family: &str) -> Option<Attribute>
fn new_foreground(red: u16, green: u16, blue: u16) -> Option<Attribute>
fn new_gravity_hint(hint: GravityHint) -> Option<Attribute>
fn new_gravity(gravity: Gravity) -> Option<Attribute>
fn new_letter_spacing(letter_spacing: i32) -> Option<Attribute>
fn new_rise(rise: i32) -> Option<Attribute>
fn new_scale(scale_factor: f64) -> Option<Attribute>
fn new_stretch(stretch: Stretch) -> Option<Attribute>
fn new_strikethrough_color(red: u16, green: u16, blue: u16) -> Option<Attribute>
fn new_strikethrough(strikethrough: bool) -> Option<Attribute>
fn new_style(style: Style) -> Option<Attribute>
fn new_underline_color(red: u16, green: u16, blue: u16) -> Option<Attribute>
fn new_underline(underline: Underline) -> Option<Attribute>
fn new_variant(variant: Variant) -> Option<Attribute>
fn new_weight(weight: Weight) -> Option<Attribute>
fn get_attr_class(&self) -> AttrClass
fn get_start_index(&self) -> u32
fn get_end_index(&self) -> u32
fn set_start_index(&mut self, index: u32)
fn set_end_index(&mut self, index: u32)
Trait Implementations
impl Clone for Attribute
fn clone(&self) -> Attribute
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Attribute
impl PartialEq for Attribute
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.