Struct x11rb_protocol::protocol::render::CreatePictureAux
source · pub struct CreatePictureAux {Show 13 fields
pub repeat: Option<Repeat>,
pub alphamap: Option<Picture>,
pub alphaxorigin: Option<i32>,
pub alphayorigin: Option<i32>,
pub clipxorigin: Option<i32>,
pub clipyorigin: Option<i32>,
pub clipmask: Option<Pixmap>,
pub graphicsexposure: Option<u32>,
pub subwindowmode: Option<SubwindowMode>,
pub polyedge: Option<PolyEdge>,
pub polymode: Option<PolyMode>,
pub dither: Option<Atom>,
pub componentalpha: Option<u32>,
}
Expand description
Auxiliary and optional information for the create_picture
function
Fields§
§repeat: Option<Repeat>
§alphamap: Option<Picture>
§alphaxorigin: Option<i32>
§alphayorigin: Option<i32>
§clipxorigin: Option<i32>
§clipyorigin: Option<i32>
§clipmask: Option<Pixmap>
§graphicsexposure: Option<u32>
§subwindowmode: Option<SubwindowMode>
§polyedge: Option<PolyEdge>
§polymode: Option<PolyMode>
§dither: Option<Atom>
§componentalpha: Option<u32>
Implementations§
source§impl CreatePictureAux
impl CreatePictureAux
sourcepub fn repeat<I>(self, value: I) -> Selfwhere
I: Into<Option<Repeat>>,
pub fn repeat<I>(self, value: I) -> Selfwhere I: Into<Option<Repeat>>,
Set the repeat
field of this structure.
sourcepub fn alphamap<I>(self, value: I) -> Selfwhere
I: Into<Option<Picture>>,
pub fn alphamap<I>(self, value: I) -> Selfwhere I: Into<Option<Picture>>,
Set the alphamap
field of this structure.
sourcepub fn alphaxorigin<I>(self, value: I) -> Selfwhere
I: Into<Option<i32>>,
pub fn alphaxorigin<I>(self, value: I) -> Selfwhere I: Into<Option<i32>>,
Set the alphaxorigin
field of this structure.
sourcepub fn alphayorigin<I>(self, value: I) -> Selfwhere
I: Into<Option<i32>>,
pub fn alphayorigin<I>(self, value: I) -> Selfwhere I: Into<Option<i32>>,
Set the alphayorigin
field of this structure.
sourcepub fn clipxorigin<I>(self, value: I) -> Selfwhere
I: Into<Option<i32>>,
pub fn clipxorigin<I>(self, value: I) -> Selfwhere I: Into<Option<i32>>,
Set the clipxorigin
field of this structure.
sourcepub fn clipyorigin<I>(self, value: I) -> Selfwhere
I: Into<Option<i32>>,
pub fn clipyorigin<I>(self, value: I) -> Selfwhere I: Into<Option<i32>>,
Set the clipyorigin
field of this structure.
sourcepub fn clipmask<I>(self, value: I) -> Selfwhere
I: Into<Option<Pixmap>>,
pub fn clipmask<I>(self, value: I) -> Selfwhere I: Into<Option<Pixmap>>,
Set the clipmask
field of this structure.
sourcepub fn graphicsexposure<I>(self, value: I) -> Selfwhere
I: Into<Option<u32>>,
pub fn graphicsexposure<I>(self, value: I) -> Selfwhere I: Into<Option<u32>>,
Set the graphicsexposure
field of this structure.
sourcepub fn subwindowmode<I>(self, value: I) -> Selfwhere
I: Into<Option<SubwindowMode>>,
pub fn subwindowmode<I>(self, value: I) -> Selfwhere I: Into<Option<SubwindowMode>>,
Set the subwindowmode
field of this structure.
sourcepub fn polyedge<I>(self, value: I) -> Selfwhere
I: Into<Option<PolyEdge>>,
pub fn polyedge<I>(self, value: I) -> Selfwhere I: Into<Option<PolyEdge>>,
Set the polyedge
field of this structure.
sourcepub fn polymode<I>(self, value: I) -> Selfwhere
I: Into<Option<PolyMode>>,
pub fn polymode<I>(self, value: I) -> Selfwhere I: Into<Option<PolyMode>>,
Set the polymode
field of this structure.
sourcepub fn dither<I>(self, value: I) -> Selfwhere
I: Into<Option<Atom>>,
pub fn dither<I>(self, value: I) -> Selfwhere I: Into<Option<Atom>>,
Set the dither
field of this structure.
sourcepub fn componentalpha<I>(self, value: I) -> Selfwhere
I: Into<Option<u32>>,
pub fn componentalpha<I>(self, value: I) -> Selfwhere I: Into<Option<u32>>,
Set the componentalpha
field of this structure.
Trait Implementations§
source§impl Clone for CreatePictureAux
impl Clone for CreatePictureAux
source§fn clone(&self) -> CreatePictureAux
fn clone(&self) -> CreatePictureAux
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 CreatePictureAux
impl Debug for CreatePictureAux
source§impl Default for CreatePictureAux
impl Default for CreatePictureAux
source§fn default() -> CreatePictureAux
fn default() -> CreatePictureAux
Returns the “default value” for a type. Read more
source§impl Hash for CreatePictureAux
impl Hash for CreatePictureAux
source§impl Ord for CreatePictureAux
impl Ord for CreatePictureAux
source§fn cmp(&self, other: &CreatePictureAux) -> Ordering
fn cmp(&self, other: &CreatePictureAux) -> 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<CreatePictureAux> for CreatePictureAux
impl PartialEq<CreatePictureAux> for CreatePictureAux
source§fn eq(&self, other: &CreatePictureAux) -> bool
fn eq(&self, other: &CreatePictureAux) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CreatePictureAux> for CreatePictureAux
impl PartialOrd<CreatePictureAux> for CreatePictureAux
source§fn partial_cmp(&self, other: &CreatePictureAux) -> Option<Ordering>
fn partial_cmp(&self, other: &CreatePictureAux) -> 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 CreatePictureAux
impl Eq for CreatePictureAux
impl StructuralEq for CreatePictureAux
impl StructuralPartialEq for CreatePictureAux
Auto Trait Implementations§
impl RefUnwindSafe for CreatePictureAux
impl Send for CreatePictureAux
impl Sync for CreatePictureAux
impl Unpin for CreatePictureAux
impl UnwindSafe for CreatePictureAux
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