Struct rust_gpu_sdf::operators::union::UnionOp
source · pub struct UnionOp<Sdf> {
pub sdf: Sdf,
}
Expand description
Compute the boolean union of two distance fields.
Fields§
§sdf: Sdf
Implementations§
Trait Implementations§
source§impl<Sdf: Ord> Ord for UnionOp<Sdf>
impl<Sdf: Ord> Ord for UnionOp<Sdf>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<Sdf: PartialEq> PartialEq<UnionOp<Sdf>> for UnionOp<Sdf>
impl<Sdf: PartialEq> PartialEq<UnionOp<Sdf>> for UnionOp<Sdf>
source§impl<Sdf: PartialOrd> PartialOrd<UnionOp<Sdf>> for UnionOp<Sdf>
impl<Sdf: PartialOrd> PartialOrd<UnionOp<Sdf>> for UnionOp<Sdf>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more