Struct gtk::TextAttributes [−][src]
pub struct TextAttributes(_);
Expand description
Using TextAttributes
directly should rarely be necessary.
It’s primarily useful with [TextIter::attributes()
][crate::TextIter::attributes()].
As with most GTK+ structs, the fields in this struct should only
be read, never modified directly.
Implementations
Creates a TextAttributes
, which describes
a set of properties on some text.
Returns
a new TextAttributes
,
free with gtk_text_attributes_unref()
.
Copies self
and returns a new TextAttributes
.
Returns
a copy of self
,
free with gtk_text_attributes_unref()
Copies the values from self
to dest
so that dest
has
the same values as self
. Frees existing values in dest
.
dest
another TextAttributes
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for TextAttributes
impl !Send for TextAttributes
impl !Sync for TextAttributes
impl Unpin for TextAttributes
impl UnwindSafe for TextAttributes
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,