Struct rust_gpu_sdf::signed_distance_field::adapters::sweep::Sweep
source · pub struct Sweep<Core, Shell> {
pub core: Core,
pub shell: Shell,
}
Expand description
Create a 3D distance field by sweeping a 2D distance field around the perimiter of another 2D distance field
Fields§
§core: Core
§shell: Shell
Implementations§
Trait Implementations§
source§impl<Core: Ord, Shell: Ord> Ord for Sweep<Core, Shell>
impl<Core: Ord, Shell: Ord> Ord for Sweep<Core, Shell>
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<Core: PartialEq, Shell: PartialEq> PartialEq<Sweep<Core, Shell>> for Sweep<Core, Shell>
impl<Core: PartialEq, Shell: PartialEq> PartialEq<Sweep<Core, Shell>> for Sweep<Core, Shell>
source§impl<Core: PartialOrd, Shell: PartialOrd> PartialOrd<Sweep<Core, Shell>> for Sweep<Core, Shell>
impl<Core: PartialOrd, Shell: PartialOrd> PartialOrd<Sweep<Core, Shell>> for Sweep<Core, Shell>
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