[][src]Struct gdk::WindowAttr

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

impl Default for WindowAttr[src]

impl<'a> ToGlibPtr<'a, *mut GdkWindowAttr> for WindowAttr[src]

type Storage = (Box<GdkWindowAttr>, Stash<'a, *mut GdkVisual, Option<Visual>>, Stash<'a, *mut GdkCursor, Option<Cursor>>, Stash<'a, *const c_char, Option<String>>)

Auto Trait Implementations

impl RefUnwindSafe for WindowAttr

impl !Send for WindowAttr

impl !Sync for WindowAttr

impl Unpin for WindowAttr

impl UnwindSafe for WindowAttr

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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.