Struct breadx::protocol::screensaver::SetAttributesAux
source · [−]pub struct SetAttributesAux {Show 15 fields
pub background_pixmap: Option<u32>,
pub background_pixel: Option<u32>,
pub border_pixmap: Option<u32>,
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<u32>,
pub save_under: Option<u32>,
pub event_mask: Option<u32>,
pub do_not_propogate_mask: Option<u32>,
pub colormap: Option<u32>,
pub cursor: Option<u32>,
}
Expand description
Auxiliary and optional information for the set_attributes
function
Fields
background_pixmap: Option<u32>
background_pixel: Option<u32>
border_pixmap: Option<u32>
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<u32>
save_under: Option<u32>
event_mask: Option<u32>
do_not_propogate_mask: Option<u32>
colormap: Option<u32>
cursor: Option<u32>
Implementations
sourceimpl SetAttributesAux
impl SetAttributesAux
sourcepub fn new() -> SetAttributesAux
pub fn new() -> SetAttributesAux
Create a new instance with all fields unset / not present.
sourcepub fn background_pixmap<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
pub fn background_pixmap<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
Set the background_pixmap
field of this structure.
sourcepub fn background_pixel<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
pub fn background_pixel<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
Set the background_pixel
field of this structure.
sourcepub fn border_pixmap<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
pub fn border_pixmap<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
Set the border_pixmap
field of this structure.
sourcepub fn border_pixel<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
pub fn border_pixel<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
Set the border_pixel
field of this structure.
sourcepub fn bit_gravity<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<Gravity>>,
pub fn bit_gravity<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<Gravity>>,
Set the bit_gravity
field of this structure.
sourcepub fn win_gravity<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<Gravity>>,
pub fn win_gravity<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<Gravity>>,
Set the win_gravity
field of this structure.
sourcepub fn backing_store<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<BackingStore>>,
pub fn backing_store<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<BackingStore>>,
Set the backing_store
field of this structure.
sourcepub fn backing_planes<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
pub fn backing_planes<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
Set the backing_planes
field of this structure.
sourcepub fn backing_pixel<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
pub fn backing_pixel<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
Set the backing_pixel
field of this structure.
sourcepub fn override_redirect<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
pub fn override_redirect<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
Set the override_redirect
field of this structure.
sourcepub fn save_under<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
pub fn save_under<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
Set the save_under
field of this structure.
sourcepub fn event_mask<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
pub fn event_mask<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
Set the event_mask
field of this structure.
sourcepub fn do_not_propogate_mask<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
pub fn do_not_propogate_mask<I>(self, value: I) -> SetAttributesAux where
I: Into<Option<u32>>,
Set the do_not_propogate_mask
field of this structure.
Trait Implementations
sourceimpl Clone for SetAttributesAux
impl Clone for SetAttributesAux
sourcefn clone(&self) -> SetAttributesAux
fn clone(&self) -> SetAttributesAux
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 SetAttributesAux
impl Debug for SetAttributesAux
sourceimpl Default for SetAttributesAux
impl Default for SetAttributesAux
sourcefn default() -> SetAttributesAux
fn default() -> SetAttributesAux
Returns the “default value” for a type. Read more
sourceimpl Hash for SetAttributesAux
impl Hash for SetAttributesAux
sourceimpl Ord for SetAttributesAux
impl Ord for SetAttributesAux
sourceimpl PartialEq<SetAttributesAux> for SetAttributesAux
impl PartialEq<SetAttributesAux> for SetAttributesAux
sourcefn eq(&self, other: &SetAttributesAux) -> bool
fn eq(&self, other: &SetAttributesAux) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SetAttributesAux) -> bool
fn ne(&self, other: &SetAttributesAux) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SetAttributesAux> for SetAttributesAux
impl PartialOrd<SetAttributesAux> for SetAttributesAux
sourcefn partial_cmp(&self, other: &SetAttributesAux) -> Option<Ordering>
fn partial_cmp(&self, other: &SetAttributesAux) -> 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 SetAttributesAux
impl Eq for SetAttributesAux
impl StructuralEq for SetAttributesAux
impl StructuralPartialEq for SetAttributesAux
Auto Trait Implementations
impl RefUnwindSafe for SetAttributesAux
impl Send for SetAttributesAux
impl Sync for SetAttributesAux
impl Unpin for SetAttributesAux
impl UnwindSafe for SetAttributesAux
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
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more