pub struct Limits {
pub min: Option<Box<[f32; 3]>>,
pub max: Option<Box<[f32; 3]>>,
}
Expand description
A set of min/max limits used for both linear and angular constraints.
Fields§
§min: Option<Box<[f32; 3]>>
The minimum value in each direction.
max: Option<Box<[f32; 3]>>
The maximum value in each direction.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnwindSafe for Limits
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