pub struct MetalLibrary { /* private fields */ }Expand description
A Metal shader library
Implementations§
Source§impl MetalLibrary
impl MetalLibrary
Sourcepub fn get_function(&self, name: &str) -> Option<MetalFunction>
pub fn get_function(&self, name: &str) -> Option<MetalFunction>
Get a function from this library by name
Trait Implementations§
Source§impl Debug for MetalLibrary
impl Debug for MetalLibrary
Source§impl Drop for MetalLibrary
impl Drop for MetalLibrary
impl Send for MetalLibrary
impl Sync for MetalLibrary
Auto Trait Implementations§
impl Freeze for MetalLibrary
impl RefUnwindSafe for MetalLibrary
impl Unpin for MetalLibrary
impl UnwindSafe for MetalLibrary
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