pub struct DeviceRange {
pub device_index: usize,
pub offset: usize,
pub length: usize,
}Expand description
Describes a range of work assigned to a device
Fields§
§device_index: usize§offset: usize§length: usizeTrait Implementations§
Source§impl Clone for DeviceRange
impl Clone for DeviceRange
Source§fn clone(&self) -> DeviceRange
fn clone(&self) -> DeviceRange
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 moreAuto Trait Implementations§
impl Freeze for DeviceRange
impl RefUnwindSafe for DeviceRange
impl Send for DeviceRange
impl Sync for DeviceRange
impl Unpin for DeviceRange
impl UnsafeUnpin for DeviceRange
impl UnwindSafe for DeviceRange
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