Trait vizia::vg::region::Combine

pub trait Combine<A, B>: Sized {
    // Required method
    fn combine(a: &A, op: SkRegion_Op, 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§

fn combine(a: &A, op: SkRegion_Op, 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

Object Safety§

This trait is not object safe.

Implementors§

§

impl Combine<Handle<SkRegion>, Handle<SkRegion>> for Handle<SkRegion>

§

impl Combine<Handle<SkRegion>, IRect> for Handle<SkRegion>

§

impl Combine<IRect, Handle<SkRegion>> for Handle<SkRegion>