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 alphaxorigin<I>(self, value: I) -> Self
pub fn alphaxorigin<I>(self, value: I) -> Self
Set the alphaxorigin
field of this structure.
sourcepub fn alphayorigin<I>(self, value: I) -> Self
pub fn alphayorigin<I>(self, value: I) -> Self
Set the alphayorigin
field of this structure.
sourcepub fn clipxorigin<I>(self, value: I) -> Self
pub fn clipxorigin<I>(self, value: I) -> Self
Set the clipxorigin
field of this structure.
sourcepub fn clipyorigin<I>(self, value: I) -> Self
pub fn clipyorigin<I>(self, value: I) -> Self
Set the clipyorigin
field of this structure.
sourcepub fn graphicsexposure<I>(self, value: I) -> Self
pub fn graphicsexposure<I>(self, value: I) -> Self
Set the graphicsexposure
field of this structure.
sourcepub fn subwindowmode<I>(self, value: I) -> Self
pub fn subwindowmode<I>(self, value: I) -> Self
Set the subwindowmode
field of this structure.
sourcepub fn componentalpha<I>(self, value: I) -> Self
pub fn componentalpha<I>(self, value: I) -> Self
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<'de> Deserialize<'de> for CreatePictureAux
impl<'de> Deserialize<'de> for CreatePictureAux
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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 for CreatePictureAux
impl PartialEq 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 for CreatePictureAux
impl PartialOrd 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 moresource§impl Serialize for CreatePictureAux
impl Serialize for CreatePictureAux
impl Copy for CreatePictureAux
impl Eq for CreatePictureAux
impl StructuralPartialEq for CreatePictureAux
Auto Trait Implementations§
impl Freeze for CreatePictureAux
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