pub struct PointRange {
pub min: i64,
pub max: i64,
}Expand description
Inclusive integer point range.
Fields§
§min: i64Minimum possible point value.
max: i64Maximum possible point value.
Trait Implementations§
Source§impl Clone for PointRange
impl Clone for PointRange
Source§fn clone(&self) -> PointRange
fn clone(&self) -> PointRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PointRange
impl Debug for PointRange
impl Eq for PointRange
Source§impl PartialEq for PointRange
impl PartialEq for PointRange
Source§fn eq(&self, other: &PointRange) -> bool
fn eq(&self, other: &PointRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PointRange
Auto Trait Implementations§
impl Freeze for PointRange
impl RefUnwindSafe for PointRange
impl Send for PointRange
impl Sync for PointRange
impl Unpin for PointRange
impl UnsafeUnpin for PointRange
impl UnwindSafe for PointRange
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