Struct os::mm::address::SimpleRange
source · pub struct SimpleRange<T>where
T: StepByOne + Copy + PartialEq + PartialOrd + Debug,{
l: T,
r: T,
}
Expand description
a simple range structure for type T
Fields§
§l: T
§r: T
Implementations§
Trait Implementations§
source§impl<T> Clone for SimpleRange<T>where
T: StepByOne + Copy + PartialEq + PartialOrd + Debug + Clone,
impl<T> Clone for SimpleRange<T>where T: StepByOne + Copy + PartialEq + PartialOrd + Debug + Clone,
source§fn clone(&self) -> SimpleRange<T>
fn clone(&self) -> SimpleRange<T>
Returns a copy 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<T> IntoIterator for SimpleRange<T>where
T: StepByOne + Copy + PartialEq + PartialOrd + Debug,
impl<T> IntoIterator for SimpleRange<T>where T: StepByOne + Copy + PartialEq + PartialOrd + Debug,
impl<T> Copy for SimpleRange<T>where T: StepByOne + Copy + PartialEq + PartialOrd + Debug + Copy,
Auto Trait Implementations§
impl<T> RefUnwindSafe for SimpleRange<T>where T: RefUnwindSafe,
impl<T> Send for SimpleRange<T>where T: Send,
impl<T> Sync for SimpleRange<T>where T: Sync,
impl<T> Unpin for SimpleRange<T>where T: Unpin,
impl<T> UnwindSafe for SimpleRange<T>where T: UnwindSafe,
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