Struct winsafe::BLENDFUNCTION
source · #[repr(C)]pub struct BLENDFUNCTION {
pub SourceConstantAlpha: u8,
/* private fields */
}
Available on crate feature
user
only.Expand description
BLENDFUNCTION
struct.
The Default
trait is implemented with the
following values:
BlendOp
:co::AC_SRC::OVER
BlendFlags
:0
SourceConstantAlpha
:0
AlphaFormat
:co::AC_SRC::ALPHA
Fields§
§SourceConstantAlpha: u8
Trait Implementations§
source§impl Clone for BLENDFUNCTION
impl Clone for BLENDFUNCTION
source§fn clone(&self) -> BLENDFUNCTION
fn clone(&self) -> BLENDFUNCTION
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 Default for BLENDFUNCTION
impl Default for BLENDFUNCTION
source§impl PartialEq for BLENDFUNCTION
impl PartialEq for BLENDFUNCTION
source§fn eq(&self, other: &BLENDFUNCTION) -> bool
fn eq(&self, other: &BLENDFUNCTION) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BLENDFUNCTION
impl Eq for BLENDFUNCTION
impl StructuralPartialEq for BLENDFUNCTION
Auto Trait Implementations§
impl RefUnwindSafe for BLENDFUNCTION
impl Send for BLENDFUNCTION
impl Sync for BLENDFUNCTION
impl Unpin for BLENDFUNCTION
impl UnwindSafe for BLENDFUNCTION
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