pub struct CreatePictureAux {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 create_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
sourceimpl CreatePictureAux
impl CreatePictureAux
sourcepub fn new() -> CreatePictureAux
pub fn new() -> CreatePictureAux
Create a new instance with all fields unset / not present.
sourcepub fn repeat<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<Repeat>>,
pub fn repeat<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<Repeat>>,
Set the repeat
field of this structure.
sourcepub fn alphamap<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<u32>>,
pub fn alphamap<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<u32>>,
Set the alphamap
field of this structure.
sourcepub fn alphaxorigin<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<i32>>,
pub fn alphaxorigin<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<i32>>,
Set the alphaxorigin
field of this structure.
sourcepub fn alphayorigin<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<i32>>,
pub fn alphayorigin<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<i32>>,
Set the alphayorigin
field of this structure.
sourcepub fn clipxorigin<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<i32>>,
pub fn clipxorigin<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<i32>>,
Set the clipxorigin
field of this structure.
sourcepub fn clipyorigin<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<i32>>,
pub fn clipyorigin<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<i32>>,
Set the clipyorigin
field of this structure.
sourcepub fn clipmask<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<u32>>,
pub fn clipmask<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<u32>>,
Set the clipmask
field of this structure.
sourcepub fn graphicsexposure<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<u32>>,
pub fn graphicsexposure<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<u32>>,
Set the graphicsexposure
field of this structure.
sourcepub fn subwindowmode<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<SubwindowMode>>,
pub fn subwindowmode<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<SubwindowMode>>,
Set the subwindowmode
field of this structure.
sourcepub fn polyedge<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<PolyEdge>>,
pub fn polyedge<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<PolyEdge>>,
Set the polyedge
field of this structure.
sourcepub fn polymode<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<PolyMode>>,
pub fn polymode<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<PolyMode>>,
Set the polymode
field of this structure.
sourcepub fn dither<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<u32>>,
pub fn dither<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<u32>>,
Set the dither
field of this structure.
sourcepub fn componentalpha<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<u32>>,
pub fn componentalpha<I>(self, value: I) -> CreatePictureAux where
I: Into<Option<u32>>,
Set the componentalpha
field of this structure.
Trait Implementations
sourceimpl Clone for CreatePictureAux
impl Clone for CreatePictureAux
sourcefn clone(&self) -> CreatePictureAux
fn clone(&self) -> CreatePictureAux
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 CreatePictureAux
impl Debug for CreatePictureAux
sourceimpl Default for CreatePictureAux
impl Default for CreatePictureAux
sourcefn default() -> CreatePictureAux
fn default() -> CreatePictureAux
Returns the “default value” for a type. Read more
sourceimpl Hash for CreatePictureAux
impl Hash for CreatePictureAux
sourceimpl Ord for CreatePictureAux
impl Ord for CreatePictureAux
sourceimpl PartialEq<CreatePictureAux> for CreatePictureAux
impl PartialEq<CreatePictureAux> for CreatePictureAux
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &CreatePictureAux) -> bool
fn ne(&self, other: &CreatePictureAux) -> bool
This method tests for !=
.
sourceimpl PartialOrd<CreatePictureAux> for CreatePictureAux
impl PartialOrd<CreatePictureAux> for CreatePictureAux
sourcefn partial_cmp(&self, other: &CreatePictureAux) -> Option<Ordering>
fn partial_cmp(&self, other: &CreatePictureAux) -> 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 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
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