pub struct Device { /* private fields */ }
Implementations§
Methods from Deref<Target = Device>§
Sourcepub fn extensions(
&self,
) -> &BTreeSet<StringArray<vulkanalia_sys::::extensions::ExtensionName::{constant#0}>>
pub fn extensions( &self, ) -> &BTreeSet<StringArray<vulkanalia_sys::::extensions::ExtensionName::{constant#0}>>
Gets the loaded extensions for this Vulkan device.
Sourcepub fn layers(
&self,
) -> &BTreeSet<StringArray<vulkanalia_sys::::extensions::ExtensionName::{constant#0}>>
pub fn layers( &self, ) -> &BTreeSet<StringArray<vulkanalia_sys::::extensions::ExtensionName::{constant#0}>>
Gets the loaded layers for this Vulkan device.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl !RefUnwindSafe for Device
impl !Send for Device
impl !Sync for Device
impl Unpin for Device
impl !UnwindSafe for Device
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