pub struct QueueCapabilities {
pub ordinal: u32,
pub command: QueueCommand,
pub format_version: u32,
pub format_features: u64,
pub user_publication: bool,
pub kernel_publication: bool,
pub minimum_ring_bytes: u64,
pub maximum_ring_bytes: u64,
pub ring_alignment: u64,
pub system_release: bool,
pub system_acquire: bool,
}Expand description
Passive, immutable capabilities copied from the current native provider.
Fields§
§ordinal: u32Dense family ordinal accepted by memory visibility queries.
command: QueueCommandNative command representation.
format_version: u32Command-format version.
format_features: u64Representation-specific feature bits from the native ABI.
user_publication: boolHost/device direct publication is available.
kernel_publication: boolKernel-mediated publication is available.
minimum_ring_bytes: u64Minimum ring length in bytes.
maximum_ring_bytes: u64Maximum ring length in bytes.
ring_alignment: u64Required ring-length alignment.
system_release: boolQueue can release writes to system memory.
system_acquire: boolQueue can acquire writes from system memory.
Trait Implementations§
Source§impl Clone for QueueCapabilities
impl Clone for QueueCapabilities
Auto Trait Implementations§
impl Freeze for QueueCapabilities
impl RefUnwindSafe for QueueCapabilities
impl Send for QueueCapabilities
impl Sync for QueueCapabilities
impl Unpin for QueueCapabilities
impl UnsafeUnpin for QueueCapabilities
impl UnwindSafe for QueueCapabilities
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§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more