Struct rust_gpu_sdf::operators::subtraction::SubtractionOp
source · pub struct SubtractionOp<Sdf> {
pub sdf: Sdf,
}
Expand description
Compute the boolean subtraction of two distance fields.
Fields§
§sdf: Sdf
Implementations§
Trait Implementations§
source§impl<Sdf: Clone> Clone for SubtractionOp<Sdf>
impl<Sdf: Clone> Clone for SubtractionOp<Sdf>
source§fn clone(&self) -> SubtractionOp<Sdf>
fn clone(&self) -> SubtractionOp<Sdf>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<Sdf: Debug> Debug for SubtractionOp<Sdf>
impl<Sdf: Debug> Debug for SubtractionOp<Sdf>
source§impl<Sdf: Default> Default for SubtractionOp<Sdf>
impl<Sdf: Default> Default for SubtractionOp<Sdf>
source§fn default() -> SubtractionOp<Sdf>
fn default() -> SubtractionOp<Sdf>
Returns the “default value” for a type. Read more
source§impl<Sdf: Hash> Hash for SubtractionOp<Sdf>
impl<Sdf: Hash> Hash for SubtractionOp<Sdf>
source§impl<Sdf: Ord> Ord for SubtractionOp<Sdf>
impl<Sdf: Ord> Ord for SubtractionOp<Sdf>
source§fn cmp(&self, other: &SubtractionOp<Sdf>) -> Ordering
fn cmp(&self, other: &SubtractionOp<Sdf>) -> Ordering
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<SubtractionOp<Sdf>> for SubtractionOp<Sdf>
impl<Sdf: PartialEq> PartialEq<SubtractionOp<Sdf>> for SubtractionOp<Sdf>
source§fn eq(&self, other: &SubtractionOp<Sdf>) -> bool
fn eq(&self, other: &SubtractionOp<Sdf>) -> bool
source§impl<Sdf: PartialOrd> PartialOrd<SubtractionOp<Sdf>> for SubtractionOp<Sdf>
impl<Sdf: PartialOrd> PartialOrd<SubtractionOp<Sdf>> for SubtractionOp<Sdf>
source§fn partial_cmp(&self, other: &SubtractionOp<Sdf>) -> Option<Ordering>
fn partial_cmp(&self, other: &SubtractionOp<Sdf>) -> Option<Ordering>
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