Enum geo_rasterize::MergeAlgorithm [−][src]
pub enum MergeAlgorithm {
Replace,
Add,
}
Expand description
Conflict resolution strategy for cases where two shapes cover the same pixel.
Variants
Replace
Overwrite the pixel with the burn value associated with the last shape to be written to it. This is the default.
Add
Overwrite the pixel with the sum of the burn values associated with the shapes written to it.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MergeAlgorithm
impl Send for MergeAlgorithm
impl Sync for MergeAlgorithm
impl Unpin for MergeAlgorithm
impl UnwindSafe for MergeAlgorithm
Blanket Implementations
Mutably borrows from an owned value. Read more