pub enum ZeroDistance {
Skip,
Axis(Vec3),
}Expand description
Direction when the body’s COM coincides exactly with the request center.
Variants§
Skip
Exclude this body from the budget, bound and accepted output.
Axis(Vec3)
Normalize this finite nonzero vector using f64 intermediates. In a planar world the vector must have z == 0, even if no body is centered.
Trait Implementations§
Source§impl Clone for ZeroDistance
impl Clone for ZeroDistance
Source§fn clone(&self) -> ZeroDistance
fn clone(&self) -> ZeroDistance
Returns a duplicate 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 ZeroDistance
impl Debug for ZeroDistance
Source§impl PartialEq for ZeroDistance
impl PartialEq for ZeroDistance
impl Copy for ZeroDistance
impl StructuralPartialEq for ZeroDistance
Auto Trait Implementations§
impl Freeze for ZeroDistance
impl RefUnwindSafe for ZeroDistance
impl Send for ZeroDistance
impl Sync for ZeroDistance
impl Unpin for ZeroDistance
impl UnwindSafe for ZeroDistance
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more