pub struct MetalCommandQueue {
pub handle: *mut c_void,
pub id: u32,
pub label: Option<String>,
pub created_at: Instant,
pub command_buffers: VecDeque<MetalCommandBuffer>,
pub priority: MetalQueuePriority,
}Expand description
Metal command queue for GPU operations
Fields§
§handle: *mut c_voidQueue handle (simulated)
id: u32Queue ID
label: Option<String>Queue label
created_at: InstantCreation time
command_buffers: VecDeque<MetalCommandBuffer>Command buffers
priority: MetalQueuePriorityQueue priority
Auto Trait Implementations§
impl Freeze for MetalCommandQueue
impl RefUnwindSafe for MetalCommandQueue
impl !Send for MetalCommandQueue
impl !Sync for MetalCommandQueue
impl Unpin for MetalCommandQueue
impl UnwindSafe for MetalCommandQueue
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> 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