pub struct Adapter<A: HalApi> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<A: HalApi> Resource<Id<Adapter<Api>>> for Adapter<A>
impl<A: HalApi> Resource<Id<Adapter<Api>>> for Adapter<A>
const TYPE: &'static str = "Adapter"
fn as_info(&self) -> &ResourceInfo<AdapterId>
fn as_info_mut(&mut self) -> &mut ResourceInfo<AdapterId>
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 Adapter<A>
impl<A> Send for Adapter<A>
impl<A> Sync for Adapter<A>
impl<A> Unpin for Adapter<A>
impl<A> !UnwindSafe for Adapter<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