pub struct GraphicsRegistry<'a> { /* private fields */ }Implementations§
Source§impl<'a> GraphicsRegistry<'a>
impl<'a> GraphicsRegistry<'a>
pub fn new( catalog: &'a CallCatalog, supported_names: &[&str], rules: &[AdapterRule], ) -> Result<Self, GeneratorError>
pub fn calls(&self) -> &[&'a Call]
pub fn adapter_for(&self, name: &str) -> Option<AdapterPolicy>
Sourcepub fn inventory_json(&self, catalog: &CallCatalog) -> String
pub fn inventory_json(&self, catalog: &CallCatalog) -> String
Deterministic build artifact inventory. It is emitted to OUT_DIR only; no registry or metadata table is linked into the runtime.
Auto Trait Implementations§
impl<'a> Freeze for GraphicsRegistry<'a>
impl<'a> RefUnwindSafe for GraphicsRegistry<'a>
impl<'a> !Send for GraphicsRegistry<'a>
impl<'a> !Sync for GraphicsRegistry<'a>
impl<'a> Unpin for GraphicsRegistry<'a>
impl<'a> UnsafeUnpin for GraphicsRegistry<'a>
impl<'a> UnwindSafe for GraphicsRegistry<'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