BitmapDrawModeExt

Trait BitmapDrawModeExt 

Source
pub trait BitmapDrawModeExt {
    const Copy: BitmapDrawMode = BitmapDrawMode::kDrawModeCopy;
    const WhiteTransparent: BitmapDrawMode = BitmapDrawMode::kDrawModeWhiteTransparent;
    const BlackTransparent: BitmapDrawMode = BitmapDrawMode::kDrawModeBlackTransparent;
    const FillWhite: BitmapDrawMode = BitmapDrawMode::kDrawModeFillWhite;
    const FillBlack: BitmapDrawMode = BitmapDrawMode::kDrawModeFillBlack;
    const XOR: BitmapDrawMode = BitmapDrawMode::kDrawModeXOR;
    const NXOR: BitmapDrawMode = BitmapDrawMode::kDrawModeNXOR;
    const Inverted: BitmapDrawMode = BitmapDrawMode::kDrawModeInverted;
}

Provided Associated Constants§

Source

const Copy: BitmapDrawMode = BitmapDrawMode::kDrawModeCopy

Source

const WhiteTransparent: BitmapDrawMode = BitmapDrawMode::kDrawModeWhiteTransparent

Source

const BlackTransparent: BitmapDrawMode = BitmapDrawMode::kDrawModeBlackTransparent

Source

const FillWhite: BitmapDrawMode = BitmapDrawMode::kDrawModeFillWhite

Source

const FillBlack: BitmapDrawMode = BitmapDrawMode::kDrawModeFillBlack

Source

const XOR: BitmapDrawMode = BitmapDrawMode::kDrawModeXOR

Source

const NXOR: BitmapDrawMode = BitmapDrawMode::kDrawModeNXOR

Source

const Inverted: BitmapDrawMode = BitmapDrawMode::kDrawModeInverted

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§