Struct rust_gpu_sdf::operators::sided::SidedOp
source · pub struct SidedOp<Dim> {
pub axis: Dim,
}
Expand description
Given an infinitely-thin surface, divide space into interior and exterior based on axis.
Fields§
§axis: Dim
Implementations§
Trait Implementations§
source§impl<Dim: Ord> Ord for SidedOp<Dim>
impl<Dim: Ord> Ord for SidedOp<Dim>
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<Dim: PartialEq> PartialEq<SidedOp<Dim>> for SidedOp<Dim>
impl<Dim: PartialEq> PartialEq<SidedOp<Dim>> for SidedOp<Dim>
source§impl<Dim: PartialOrd> PartialOrd<SidedOp<Dim>> for SidedOp<Dim>
impl<Dim: PartialOrd> PartialOrd<SidedOp<Dim>> for SidedOp<Dim>
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