Trait skia_safe::region::Combine

source ·
pub trait Combine<A, B>: Sized {
    // Required method
    fn combine(a: &A, op: RegionOp, b: &B) -> Self;

    // Provided methods
    fn difference(a: &A, b: &B) -> Self { ... }
    fn intersect(a: &A, b: &B) -> Self { ... }
    fn xor(a: &A, b: &B) -> Self { ... }
    fn union(a: &A, b: &B) -> Self { ... }
    fn reverse_difference(a: &A, b: &B) -> Self { ... }
    fn replace(a: &A, b: &B) -> Self { ... }
}

Required Methods§

source

fn combine(a: &A, op: RegionOp, b: &B) -> Self

Provided Methods§

source

fn difference(a: &A, b: &B) -> Self

source

fn intersect(a: &A, b: &B) -> Self

source

fn xor(a: &A, b: &B) -> Self

source

fn union(a: &A, b: &B) -> Self

source

fn reverse_difference(a: &A, b: &B) -> Self

source

fn replace(a: &A, b: &B) -> Self

Implementors§