Struct bluenrg::gatt::Range [−][src]
pub struct Range<T> { /* fields omitted */ }
Two ordered points that represent a range. The points may be identical to represent a range with only one value.
Methods
impl<T: PartialOrd> Range<T>
[src]
impl<T: PartialOrd> Range<T>
pub fn new(from: T, to: T) -> Result<Range<T>, RangeError>
[src]
pub fn new(from: T, to: T) -> Result<Range<T>, RangeError>