Struct rust_gpu_sdf::signed_distance_field::shapes::octahedron::Octahedron
source · pub struct Octahedron {
pub size: f32,
}
Expand description
An octahedron.
Fields§
§size: f32
Implementations§
Trait Implementations§
source§impl Clone for Octahedron
impl Clone for Octahedron
source§fn clone(&self) -> Octahedron
fn clone(&self) -> Octahedron
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 Debug for Octahedron
impl Debug for Octahedron
source§impl Default for Octahedron
impl Default for Octahedron
source§impl PartialEq<Octahedron> for Octahedron
impl PartialEq<Octahedron> for Octahedron
source§fn eq(&self, other: &Octahedron) -> bool
fn eq(&self, other: &Octahedron) -> bool
source§impl PartialOrd<Octahedron> for Octahedron
impl PartialOrd<Octahedron> for Octahedron
source§fn partial_cmp(&self, other: &Octahedron) -> Option<Ordering>
fn partial_cmp(&self, other: &Octahedron) -> 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