Struct rust_gpu_sdf::operators::displace::DisplaceOp
source · pub struct DisplaceOp<Sdf> {
pub displace: Sdf,
}
Expand description
Displace the output of a distance field using the output of another distance field.
Fields§
§displace: Sdf
Implementations§
Trait Implementations§
source§impl<Sdf: Clone> Clone for DisplaceOp<Sdf>
impl<Sdf: Clone> Clone for DisplaceOp<Sdf>
source§fn clone(&self) -> DisplaceOp<Sdf>
fn clone(&self) -> DisplaceOp<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 DisplaceOp<Sdf>
impl<Sdf: Debug> Debug for DisplaceOp<Sdf>
source§impl<Sdf: Default> Default for DisplaceOp<Sdf>
impl<Sdf: Default> Default for DisplaceOp<Sdf>
source§fn default() -> DisplaceOp<Sdf>
fn default() -> DisplaceOp<Sdf>
Returns the “default value” for a type. Read more
source§impl<Sdf: Hash> Hash for DisplaceOp<Sdf>
impl<Sdf: Hash> Hash for DisplaceOp<Sdf>
source§impl<Sdf: Ord> Ord for DisplaceOp<Sdf>
impl<Sdf: Ord> Ord for DisplaceOp<Sdf>
source§fn cmp(&self, other: &DisplaceOp<Sdf>) -> Ordering
fn cmp(&self, other: &DisplaceOp<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<DisplaceOp<Sdf>> for DisplaceOp<Sdf>
impl<Sdf: PartialEq> PartialEq<DisplaceOp<Sdf>> for DisplaceOp<Sdf>
source§fn eq(&self, other: &DisplaceOp<Sdf>) -> bool
fn eq(&self, other: &DisplaceOp<Sdf>) -> bool
source§impl<Sdf: PartialOrd> PartialOrd<DisplaceOp<Sdf>> for DisplaceOp<Sdf>
impl<Sdf: PartialOrd> PartialOrd<DisplaceOp<Sdf>> for DisplaceOp<Sdf>
source§fn partial_cmp(&self, other: &DisplaceOp<Sdf>) -> Option<Ordering>
fn partial_cmp(&self, other: &DisplaceOp<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