Struct rust_gpu_sdf::operators::elongate::ElongateOp
source · pub struct ElongateOp<Dim> {
pub extent: Dim,
}
Expand description
Extrude a shape along its axes, preserving exterior geometry.
Fields§
§extent: Dim
Implementations§
Trait Implementations§
source§impl<Dim: Clone> Clone for ElongateOp<Dim>
impl<Dim: Clone> Clone for ElongateOp<Dim>
source§fn clone(&self) -> ElongateOp<Dim>
fn clone(&self) -> ElongateOp<Dim>
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<Dim: Debug> Debug for ElongateOp<Dim>
impl<Dim: Debug> Debug for ElongateOp<Dim>
source§impl Default for ElongateOp<Vec2>
impl Default for ElongateOp<Vec2>
source§impl Default for ElongateOp<Vec3>
impl Default for ElongateOp<Vec3>
source§impl Default for ElongateOp<f32>
impl Default for ElongateOp<f32>
source§impl<Dim: Hash> Hash for ElongateOp<Dim>
impl<Dim: Hash> Hash for ElongateOp<Dim>
source§impl<Dim: Ord> Ord for ElongateOp<Dim>
impl<Dim: Ord> Ord for ElongateOp<Dim>
source§fn cmp(&self, other: &ElongateOp<Dim>) -> Ordering
fn cmp(&self, other: &ElongateOp<Dim>) -> 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<Dim: PartialEq> PartialEq<ElongateOp<Dim>> for ElongateOp<Dim>
impl<Dim: PartialEq> PartialEq<ElongateOp<Dim>> for ElongateOp<Dim>
source§fn eq(&self, other: &ElongateOp<Dim>) -> bool
fn eq(&self, other: &ElongateOp<Dim>) -> bool
source§impl<Dim: PartialOrd> PartialOrd<ElongateOp<Dim>> for ElongateOp<Dim>
impl<Dim: PartialOrd> PartialOrd<ElongateOp<Dim>> for ElongateOp<Dim>
source§fn partial_cmp(&self, other: &ElongateOp<Dim>) -> Option<Ordering>
fn partial_cmp(&self, other: &ElongateOp<Dim>) -> 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