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
fn switch_expr(&self) -> u32
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
impl Copy 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