pub struct Queue { /* private fields */ }
Expand description
Represents a queue where commands can be submitted.
Implementations
sourceimpl Queue
impl Queue
sourcepub fn is_same(&self, other: &Queue) -> bool
pub fn is_same(&self, other: &Queue) -> bool
Returns true if this is the same queue as another one.
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<'_, Queue>
fn internal_object_guard(&self) -> MutexGuard<'_, Queue>
Returns a reference to the object.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.