Struct x11rb_protocol::protocol::xproto::CreateWindowAux
source · [−]pub struct CreateWindowAux {Show 15 fields
pub background_pixmap: Option<Pixmap>,
pub background_pixel: Option<u32>,
pub border_pixmap: Option<Pixmap>,
pub border_pixel: Option<u32>,
pub bit_gravity: Option<Gravity>,
pub win_gravity: Option<Gravity>,
pub backing_store: Option<BackingStore>,
pub backing_planes: Option<u32>,
pub backing_pixel: Option<u32>,
pub override_redirect: Option<Bool32>,
pub save_under: Option<Bool32>,
pub event_mask: Option<u32>,
pub do_not_propogate_mask: Option<u32>,
pub colormap: Option<Colormap>,
pub cursor: Option<Cursor>,
}
Expand description
Auxiliary and optional information for the create_window
function
Fields
background_pixmap: Option<Pixmap>
background_pixel: Option<u32>
border_pixmap: Option<Pixmap>
border_pixel: Option<u32>
bit_gravity: Option<Gravity>
win_gravity: Option<Gravity>
backing_store: Option<BackingStore>
backing_planes: Option<u32>
backing_pixel: Option<u32>
override_redirect: Option<Bool32>
save_under: Option<Bool32>
event_mask: Option<u32>
do_not_propogate_mask: Option<u32>
colormap: Option<Colormap>
cursor: Option<Cursor>
Implementations
sourceimpl CreateWindowAux
impl CreateWindowAux
sourcepub fn background_pixmap<I>(self, value: I) -> Self where
I: Into<Option<Pixmap>>,
pub fn background_pixmap<I>(self, value: I) -> Self where
I: Into<Option<Pixmap>>,
Set the background_pixmap
field of this structure.
sourcepub fn background_pixel<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
pub fn background_pixel<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
Set the background_pixel
field of this structure.
sourcepub fn border_pixmap<I>(self, value: I) -> Self where
I: Into<Option<Pixmap>>,
pub fn border_pixmap<I>(self, value: I) -> Self where
I: Into<Option<Pixmap>>,
Set the border_pixmap
field of this structure.
sourcepub fn border_pixel<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
pub fn border_pixel<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
Set the border_pixel
field of this structure.
sourcepub fn bit_gravity<I>(self, value: I) -> Self where
I: Into<Option<Gravity>>,
pub fn bit_gravity<I>(self, value: I) -> Self where
I: Into<Option<Gravity>>,
Set the bit_gravity
field of this structure.
sourcepub fn win_gravity<I>(self, value: I) -> Self where
I: Into<Option<Gravity>>,
pub fn win_gravity<I>(self, value: I) -> Self where
I: Into<Option<Gravity>>,
Set the win_gravity
field of this structure.
sourcepub fn backing_store<I>(self, value: I) -> Self where
I: Into<Option<BackingStore>>,
pub fn backing_store<I>(self, value: I) -> Self where
I: Into<Option<BackingStore>>,
Set the backing_store
field of this structure.
sourcepub fn backing_planes<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
pub fn backing_planes<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
Set the backing_planes
field of this structure.
sourcepub fn backing_pixel<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
pub fn backing_pixel<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
Set the backing_pixel
field of this structure.
sourcepub fn override_redirect<I>(self, value: I) -> Self where
I: Into<Option<Bool32>>,
pub fn override_redirect<I>(self, value: I) -> Self where
I: Into<Option<Bool32>>,
Set the override_redirect
field of this structure.
sourcepub fn save_under<I>(self, value: I) -> Self where
I: Into<Option<Bool32>>,
pub fn save_under<I>(self, value: I) -> Self where
I: Into<Option<Bool32>>,
Set the save_under
field of this structure.
sourcepub fn event_mask<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
pub fn event_mask<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
Set the event_mask
field of this structure.
sourcepub fn do_not_propogate_mask<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
pub fn do_not_propogate_mask<I>(self, value: I) -> Self where
I: Into<Option<u32>>,
Set the do_not_propogate_mask
field of this structure.
Trait Implementations
sourceimpl Clone for CreateWindowAux
impl Clone for CreateWindowAux
sourcefn clone(&self) -> CreateWindowAux
fn clone(&self) -> CreateWindowAux
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateWindowAux
impl Debug for CreateWindowAux
sourceimpl Default for CreateWindowAux
impl Default for CreateWindowAux
sourcefn default() -> CreateWindowAux
fn default() -> CreateWindowAux
Returns the “default value” for a type. Read more
sourceimpl Hash for CreateWindowAux
impl Hash for CreateWindowAux
sourceimpl Ord for CreateWindowAux
impl Ord for CreateWindowAux
sourceimpl PartialEq<CreateWindowAux> for CreateWindowAux
impl PartialEq<CreateWindowAux> for CreateWindowAux
sourcefn eq(&self, other: &CreateWindowAux) -> bool
fn eq(&self, other: &CreateWindowAux) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateWindowAux) -> bool
fn ne(&self, other: &CreateWindowAux) -> bool
This method tests for !=
.
sourceimpl PartialOrd<CreateWindowAux> for CreateWindowAux
impl PartialOrd<CreateWindowAux> for CreateWindowAux
sourcefn partial_cmp(&self, other: &CreateWindowAux) -> Option<Ordering>
fn partial_cmp(&self, other: &CreateWindowAux) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for CreateWindowAux
impl Eq for CreateWindowAux
impl StructuralEq for CreateWindowAux
impl StructuralPartialEq for CreateWindowAux
Auto Trait Implementations
impl RefUnwindSafe for CreateWindowAux
impl Send for CreateWindowAux
impl Sync for CreateWindowAux
impl Unpin for CreateWindowAux
impl UnwindSafe for CreateWindowAux
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more