pub struct DriverRange(pub Range<usize>);
Expand description
Represents a range of memory as seen from the driver.
These ranges are only published by the driver and should never otherwise need to be created. The
The only meaningful thing that can be done with them is to use the DriverMem::translate
method to attempt to turn it into a DeviceRange
.
Tuple Fields§
§0: Range<usize>
Implementations§
Source§impl DriverRange
impl DriverRange
Trait Implementations§
Source§impl Clone for DriverRange
impl Clone for DriverRange
Source§fn clone(&self) -> DriverRange
fn clone(&self) -> DriverRange
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 Debug for DriverRange
impl Debug for DriverRange
Source§impl PartialEq for DriverRange
impl PartialEq for DriverRange
impl Eq for DriverRange
impl StructuralPartialEq for DriverRange
Auto Trait Implementations§
impl Freeze for DriverRange
impl RefUnwindSafe for DriverRange
impl Send for DriverRange
impl Sync for DriverRange
impl Unpin for DriverRange
impl UnwindSafe for DriverRange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)