#[repr(i32)]pub enum GeometryCombineMode {
Union = 0,
Intersect = 1,
Xor = 2,
Exclude = 3,
}Expand description
Specifies the different methods by which two geometries can be combined.
Variants§
Union = 0
The two regions are combined by taking the union of both. The resulting geometry is geometry A + geometry B.
Intersect = 1
The two regions are combined by taking the intersection of both. The new area consists of the overlapping region between the two geometries.
Xor = 2
The two regions are combined by taking the area that exists in the first region but not the second and the area that exists in the second region but not the first. The new region consists of (A-B) + (B-A), where A and B are geometries.
Exclude = 3
The second region is excluded from the first. Given two geometries, A and B, the area of geometry B is removed from the area of geometry A, producing a region that is A-B.
Trait Implementations§
Source§impl Clone for GeometryCombineMode
impl Clone for GeometryCombineMode
impl Copy for GeometryCombineMode
Source§impl Debug for GeometryCombineMode
impl Debug for GeometryCombineMode
Source§impl Default for GeometryCombineMode
impl Default for GeometryCombineMode
impl Eq for GeometryCombineMode
Source§impl Hash for GeometryCombineMode
impl Hash for GeometryCombineMode
Source§impl MarkupTyped for GeometryCombineMode
impl MarkupTyped for GeometryCombineMode
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for GeometryCombineMode
impl PartialEq for GeometryCombineMode
impl StructuralPartialEq for GeometryCombineMode
Auto Trait Implementations§
impl Freeze for GeometryCombineMode
impl RefUnwindSafe for GeometryCombineMode
impl Send for GeometryCombineMode
impl Sync for GeometryCombineMode
impl Unpin for GeometryCombineMode
impl UnsafeUnpin for GeometryCombineMode
impl UnwindSafe for GeometryCombineMode
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more