Struct naga::compact::FunctionMap
source · struct FunctionMap {
expressions: HandleMap<Expression>,
}
Fields§
§expressions: HandleMap<Expression>
Implementations§
source§impl FunctionMap
impl FunctionMap
pub fn compact( &self, function: &mut Function, module_map: &ModuleMap, reuse: &mut FastIndexMap<Handle<Expression>, String>, )
source§impl FunctionMap
impl FunctionMap
pub fn adjust_body(&self, function: &mut Function)
fn adjust_atomic_function(&self, fun: &mut AtomicFunction)
fn adjust_ray_query_function(&self, fun: &mut RayQueryFunction)
Trait Implementations§
source§impl From<FunctionTracer<'_>> for FunctionMap
impl From<FunctionTracer<'_>> for FunctionMap
source§fn from(used: FunctionTracer<'_>) -> Self
fn from(used: FunctionTracer<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FunctionMap
impl RefUnwindSafe for FunctionMap
impl Send for FunctionMap
impl Sync for FunctionMap
impl Unpin for FunctionMap
impl UnwindSafe for FunctionMap
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