Struct k::Range
[−]
[src]
pub struct Range<T: Real> { pub min: T, pub max: T, }
min/max range to check the joint position
Fields
min: T
max: T
Methods
impl<T> Range<T> where
T: Real,
[src]
T: Real,
fn new(min: T, max: T) -> Self
[src]
fn is_valid(&self, val: T) -> bool
[src]
Check if the value is in the range
true means it is OK.
Trait Implementations
impl<T: Clone + Real> Clone for Range<T>
[src]
fn clone(&self) -> Range<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more