pub struct Queue { /* private fields */ }
Expand description
Represents a queue where commands can be submitted.
Implementations
sourceimpl Queue
impl Queue
sourcepub fn family(&self) -> QueueFamily<'_>
pub fn family(&self) -> QueueFamily<'_>
Returns the family this queue belongs to.
sourcepub fn id_within_family(&self) -> u32
pub fn id_within_family(&self) -> u32
Returns the index of this queue within its family.
Trait Implementations
sourceimpl DeviceOwned for Queue
impl DeviceOwned for Queue
sourceimpl SynchronizedVulkanObject for Queue
impl SynchronizedVulkanObject for Queue
sourcefn internal_object_guard(&self) -> MutexGuard<'_, Self::Object>
fn internal_object_guard(&self) -> MutexGuard<'_, Self::Object>
Returns a reference to the object.
impl Eq for Queue
Auto Trait Implementations
impl RefUnwindSafe for Queue
impl Send for Queue
impl Sync for Queue
impl Unpin for Queue
impl UnwindSafe for Queue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more