pub struct FunctionPointers<L> { /* private fields */ }
Expand description
Wraps around a loader and contains function pointers.
Implementations
sourceimpl<L> FunctionPointers<L>
impl<L> FunctionPointers<L>
sourcepub fn new(loader: L) -> FunctionPointers<L> where
L: Loader,
pub fn new(loader: L) -> FunctionPointers<L> where
L: Loader,
Loads some global function pointer from the loader.
sourcepub fn fns(&self) -> &EntryFunctions
pub fn fns(&self) -> &EntryFunctions
Returns the collection of Vulkan entry points from the Vulkan loader.
Trait Implementations
Auto Trait Implementations
impl<L> RefUnwindSafe for FunctionPointers<L> where
L: RefUnwindSafe,
impl<L> Send for FunctionPointers<L> where
L: Send,
impl<L> Sync for FunctionPointers<L> where
L: Sync,
impl<L> Unpin for FunctionPointers<L> where
L: Unpin,
impl<L> UnwindSafe for FunctionPointers<L> where
L: UnwindSafe,
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