Struct ux::TextNode[][src]

pub struct TextNode(_, _);

Implementations

impl TextNode[src]

pub fn new(layout: Option<&Layout>, color: Option<Color<f64>>) -> TextNode[src]

Creates a new PaintNode that will paint a pango::Layout with the given color.

This function takes a reference on the passed layout, so it is safe to call gobject::ObjectExt::unref after it returns.

layout

a pango::Layout, or None

color

the color used to paint the layout, or None

Returns

the newly created PaintNode. Use PaintNodeExt::unref when done

Trait Implementations

impl Clone for TextNode[src]

impl Debug for TextNode[src]

impl Display for TextNode[src]

impl Eq for TextNode[src]

impl Hash for TextNode[src]

impl IsA<PaintNode> for TextNode[src]

impl Ord for TextNode[src]

impl<T> PartialEq<T> for TextNode where
    T: ObjectType
[src]

impl<T> PartialOrd<T> for TextNode where
    T: ObjectType
[src]

impl StaticType for TextNode[src]

Auto Trait Implementations

impl RefUnwindSafe for TextNode

impl !Send for TextNode

impl !Sync for TextNode

impl Unpin for TextNode

impl UnwindSafe for TextNode

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<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<O> PaintNodeExt for O where
    O: IsA<PaintNode>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,