pub struct Queue<A>where
A: HalApi,{
pub device: Option<Arc<Device<A>>>,
pub raw: Option<<A as Api>::Queue>,
pub info: ResourceInfo<Id<Device<Api>>>,
}
Fields§
§device: Option<Arc<Device<A>>>
§raw: Option<<A as Api>::Queue>
§info: ResourceInfo<Id<Device<Api>>>
Trait Implementations§
source§impl<A> Resource<Id<Device<Api>>> for Queue<A>where
A: HalApi,
impl<A> Resource<Id<Device<Api>>> for Queue<A>where
A: HalApi,
const TYPE: &'static str = "Queue"
fn as_info(&self) -> &ResourceInfo<Id<Device<Api>>>
fn as_info_mut(&mut self) -> &mut ResourceInfo<Id<Device<Api>>>
fn label(&self) -> String
fn ref_count(self: &Arc<Self>) -> usize
fn is_unique(self: &Arc<Self>) -> bool
fn is_equal(&self, other: &Self) -> bool
Auto Trait Implementations§
impl<A> !RefUnwindSafe for Queue<A>
impl<A> Send for Queue<A>
impl<A> Sync for Queue<A>
impl<A> Unpin for Queue<A>
impl<A> !UnwindSafe for Queue<A>
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