Trait heron::rapier_plugin::rapier2d::utils::WSign [−]
pub trait WSign<Rhs> {
fn copy_sign_to(self, to: Rhs) -> Rhs;
}
Expand description
Trait to copy the sign of each component of one scalar/vector/matrix to another.
Required methods
fn copy_sign_to(self, to: Rhs) -> Rhs
fn copy_sign_to(self, to: Rhs) -> Rhs
Copy the sign of each component of self
to the corresponding component of to
.