pub struct QueueLimits {
pub dma_mask: u64,
pub dma_alignment: usize,
pub max_blocks_per_request: u32,
pub max_segments: usize,
pub max_segment_size: usize,
pub supported_flags: RequestFlags,
pub supports_flush: bool,
pub supports_discard: bool,
pub supports_write_zeroes: bool,
}Fields§
§dma_mask: u64§dma_alignment: usize§max_blocks_per_request: u32§max_segments: usize§max_segment_size: usize§supported_flags: RequestFlags§supports_flush: bool§supports_discard: bool§supports_write_zeroes: boolImplementations§
Trait Implementations§
Source§impl Clone for QueueLimits
impl Clone for QueueLimits
Source§fn clone(&self) -> QueueLimits
fn clone(&self) -> QueueLimits
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 moreimpl Copy for QueueLimits
Auto Trait Implementations§
impl Freeze for QueueLimits
impl RefUnwindSafe for QueueLimits
impl Send for QueueLimits
impl Sync for QueueLimits
impl Unpin for QueueLimits
impl UnsafeUnpin for QueueLimits
impl UnwindSafe for QueueLimits
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