pub enum TransferMode {
Show 43 variants
None,
Copy,
Behind,
InFront,
Dissolve,
Add,
Mulitply,
Screen,
Overlay,
SoftLight,
HardLight,
Darken,
Lighten,
Difference,
Hue,
Saturation,
Color,
Luminosity,
MultiplyAlpha,
MultiplyAlphaLuma,
MultiplyNotAlpha,
MultiplyNotAlphaLuma,
AddiditivePremul,
AlphaAdd,
ColorDodge,
ColorBurn,
Exclusion,
Difference2,
ColorDodge2,
ColorBurn2,
LinearDodge,
LinearBurn,
LinearLight,
VividLight,
PinLight,
HardMix,
LighterColor,
DarkerColor,
Subtract,
Divide,
Reserved0,
Reserved1,
NumModes,
}
Variants§
None
Copy
Behind
InFront
Dissolve
Add
Mulitply
Screen
Overlay
SoftLight
HardLight
Darken
Lighten
Difference
Hue
Saturation
Color
Luminosity
MultiplyAlpha
MultiplyAlphaLuma
MultiplyNotAlpha
MultiplyNotAlphaLuma
AddiditivePremul
AlphaAdd
ColorDodge
ColorBurn
Exclusion
Difference2
ColorDodge2
ColorBurn2
LinearDodge
LinearBurn
LinearLight
VividLight
PinLight
HardMix
LighterColor
DarkerColor
Subtract
Divide
Reserved0
Reserved1
NumModes
Trait Implementations§
Source§impl Clone for TransferMode
impl Clone for TransferMode
Source§fn clone(&self) -> TransferMode
fn clone(&self) -> TransferMode
Returns a duplicate 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 TransferMode
impl Debug for TransferMode
Source§impl From<TransferMode> for PF_XferMode
impl From<TransferMode> for PF_XferMode
Source§fn from(v: TransferMode) -> Self
fn from(v: TransferMode) -> Self
Converts to this type from the input type.
Source§impl From<i32> for TransferMode
impl From<i32> for TransferMode
Source§fn from(v: PF_XferMode) -> Self
fn from(v: PF_XferMode) -> Self
Converts to this type from the input type.
Source§impl Hash for TransferMode
impl Hash for TransferMode
Source§impl PartialEq for TransferMode
impl PartialEq for TransferMode
impl Copy for TransferMode
impl Eq for TransferMode
impl StructuralPartialEq for TransferMode
Auto Trait Implementations§
impl Freeze for TransferMode
impl RefUnwindSafe for TransferMode
impl Send for TransferMode
impl Sync for TransferMode
impl Unpin for TransferMode
impl UnwindSafe for TransferMode
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