Struct spirv_cross2::reflect::InterfaceVariableSet
source · pub struct InterfaceVariableSet<'a>(/* private fields */);Expand description
A handle to a set of interface variables.
Implementations§
source§impl<'a> InterfaceVariableSet<'a>
impl<'a> InterfaceVariableSet<'a>
sourcepub fn to_handles(&self) -> Vec<Handle<VariableId>>
pub fn to_handles(&self) -> Vec<Handle<VariableId>>
Get the SPIR-V IDs for the active interface variables.
This is only meant to be used for reflection. It is not possible
to modify the contents of an InterfaceVariableSet.
Auto Trait Implementations§
impl<'a> Freeze for InterfaceVariableSet<'a>
impl<'a> RefUnwindSafe for InterfaceVariableSet<'a>
impl<'a> !Send for InterfaceVariableSet<'a>
impl<'a> !Sync for InterfaceVariableSet<'a>
impl<'a> Unpin for InterfaceVariableSet<'a>
impl<'a> UnwindSafe for InterfaceVariableSet<'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