Struct x11rb_async::protocol::render::ChangePictureAux
source · pub struct ChangePictureAux {Show 13 fields
pub repeat: Option<Repeat>,
pub alphamap: Option<u32>,
pub alphaxorigin: Option<i32>,
pub alphayorigin: Option<i32>,
pub clipxorigin: Option<i32>,
pub clipyorigin: Option<i32>,
pub clipmask: Option<u32>,
pub graphicsexposure: Option<u32>,
pub subwindowmode: Option<SubwindowMode>,
pub polyedge: Option<PolyEdge>,
pub polymode: Option<PolyMode>,
pub dither: Option<u32>,
pub componentalpha: Option<u32>,
}Expand description
Auxiliary and optional information for the change_picture function
Fields§
§repeat: Option<Repeat>§alphamap: Option<u32>§alphaxorigin: Option<i32>§alphayorigin: Option<i32>§clipxorigin: Option<i32>§clipyorigin: Option<i32>§clipmask: Option<u32>§graphicsexposure: Option<u32>§subwindowmode: Option<SubwindowMode>§polyedge: Option<PolyEdge>§polymode: Option<PolyMode>§dither: Option<u32>§componentalpha: Option<u32>Implementations§
source§impl ChangePictureAux
impl ChangePictureAux
sourcepub fn new() -> ChangePictureAux
pub fn new() -> ChangePictureAux
Create a new instance with all fields unset / not present.
sourcepub fn repeat<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<Repeat>>,
pub fn repeat<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<Repeat>>,
Set the repeat field of this structure.
sourcepub fn alphamap<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<u32>>,
pub fn alphamap<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<u32>>,
Set the alphamap field of this structure.
sourcepub fn alphaxorigin<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<i32>>,
pub fn alphaxorigin<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<i32>>,
Set the alphaxorigin field of this structure.
sourcepub fn alphayorigin<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<i32>>,
pub fn alphayorigin<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<i32>>,
Set the alphayorigin field of this structure.
sourcepub fn clipxorigin<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<i32>>,
pub fn clipxorigin<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<i32>>,
Set the clipxorigin field of this structure.
sourcepub fn clipyorigin<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<i32>>,
pub fn clipyorigin<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<i32>>,
Set the clipyorigin field of this structure.
sourcepub fn clipmask<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<u32>>,
pub fn clipmask<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<u32>>,
Set the clipmask field of this structure.
sourcepub fn graphicsexposure<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<u32>>,
pub fn graphicsexposure<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<u32>>,
Set the graphicsexposure field of this structure.
sourcepub fn subwindowmode<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<SubwindowMode>>,
pub fn subwindowmode<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<SubwindowMode>>,
Set the subwindowmode field of this structure.
sourcepub fn polyedge<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<PolyEdge>>,
pub fn polyedge<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<PolyEdge>>,
Set the polyedge field of this structure.
sourcepub fn polymode<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<PolyMode>>,
pub fn polymode<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<PolyMode>>,
Set the polymode field of this structure.
sourcepub fn dither<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<u32>>,
pub fn dither<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<u32>>,
Set the dither field of this structure.
sourcepub fn componentalpha<I>(self, value: I) -> ChangePictureAuxwhere
I: Into<Option<u32>>,
pub fn componentalpha<I>(self, value: I) -> ChangePictureAuxwhere I: Into<Option<u32>>,
Set the componentalpha field of this structure.
Trait Implementations§
source§impl Clone for ChangePictureAux
impl Clone for ChangePictureAux
source§fn clone(&self) -> ChangePictureAux
fn clone(&self) -> ChangePictureAux
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ChangePictureAux
impl Debug for ChangePictureAux
source§impl Default for ChangePictureAux
impl Default for ChangePictureAux
source§fn default() -> ChangePictureAux
fn default() -> ChangePictureAux
Returns the “default value” for a type. Read more
source§impl Hash for ChangePictureAux
impl Hash for ChangePictureAux
source§impl Ord for ChangePictureAux
impl Ord for ChangePictureAux
source§fn cmp(&self, other: &ChangePictureAux) -> Ordering
fn cmp(&self, other: &ChangePictureAux) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ChangePictureAux> for ChangePictureAux
impl PartialEq<ChangePictureAux> for ChangePictureAux
source§fn eq(&self, other: &ChangePictureAux) -> bool
fn eq(&self, other: &ChangePictureAux) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ChangePictureAux> for ChangePictureAux
impl PartialOrd<ChangePictureAux> for ChangePictureAux
source§fn partial_cmp(&self, other: &ChangePictureAux) -> Option<Ordering>
fn partial_cmp(&self, other: &ChangePictureAux) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for ChangePictureAux
impl Eq for ChangePictureAux
impl StructuralEq for ChangePictureAux
impl StructuralPartialEq for ChangePictureAux
Auto Trait Implementations§
impl RefUnwindSafe for ChangePictureAux
impl Send for ChangePictureAux
impl Sync for ChangePictureAux
impl Unpin for ChangePictureAux
impl UnwindSafe for ChangePictureAux
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more