Struct rust_gpu_sdf::operators::conditional::ConditionalOp
source · pub struct ConditionalOp<Op, const CONDITION: bool> { /* private fields */ }
Trait Implementations§
source§impl<Op: Clone, const CONDITION: bool> Clone for ConditionalOp<Op, CONDITION>
impl<Op: Clone, const CONDITION: bool> Clone for ConditionalOp<Op, CONDITION>
source§fn clone(&self) -> ConditionalOp<Op, CONDITION>
fn clone(&self) -> ConditionalOp<Op, CONDITION>
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<Op: Default, const CONDITION: bool> Default for ConditionalOp<Op, CONDITION>
impl<Op: Default, const CONDITION: bool> Default for ConditionalOp<Op, CONDITION>
source§fn default() -> ConditionalOp<Op, CONDITION>
fn default() -> ConditionalOp<Op, CONDITION>
Returns the “default value” for a type. Read more
source§impl<Op: Ord, const CONDITION: bool> Ord for ConditionalOp<Op, CONDITION>
impl<Op: Ord, const CONDITION: bool> Ord for ConditionalOp<Op, CONDITION>
source§fn cmp(&self, other: &ConditionalOp<Op, CONDITION>) -> Ordering
fn cmp(&self, other: &ConditionalOp<Op, CONDITION>) -> 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<Op: PartialEq, const CONDITION: bool> PartialEq<ConditionalOp<Op, CONDITION>> for ConditionalOp<Op, CONDITION>
impl<Op: PartialEq, const CONDITION: bool> PartialEq<ConditionalOp<Op, CONDITION>> for ConditionalOp<Op, CONDITION>
source§fn eq(&self, other: &ConditionalOp<Op, CONDITION>) -> bool
fn eq(&self, other: &ConditionalOp<Op, CONDITION>) -> bool
source§impl<Op: PartialOrd, const CONDITION: bool> PartialOrd<ConditionalOp<Op, CONDITION>> for ConditionalOp<Op, CONDITION>
impl<Op: PartialOrd, const CONDITION: bool> PartialOrd<ConditionalOp<Op, CONDITION>> for ConditionalOp<Op, CONDITION>
source§fn partial_cmp(&self, other: &ConditionalOp<Op, CONDITION>) -> Option<Ordering>
fn partial_cmp(&self, other: &ConditionalOp<Op, CONDITION>) -> 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