pub struct WindowAttr {
    pub title: Option<String>,
    pub event_mask: EventMask,
    pub x: Option<i32>,
    pub y: Option<i32>,
    pub width: i32,
    pub height: i32,
    pub wclass: WindowWindowClass,
    pub visual: Option<Visual>,
    pub window_type: WindowType,
    pub cursor: Option<Cursor>,
    pub override_redirect: bool,
    pub type_hint: Option<WindowTypeHint>,
}

Fields

title: Option<String>event_mask: EventMaskx: Option<i32>y: Option<i32>width: i32height: i32wclass: WindowWindowClassvisual: Option<Visual>window_type: WindowTypecursor: Option<Cursor>override_redirect: booltype_hint: Option<WindowTypeHint>

Trait Implementations

Returns the “default value” for a type. Read more

Transfer: none. Read more

Transfer: container. Read more

Transfer: full. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.