Struct wgpu::naga::valid::ModuleInfo
source · pub struct ModuleInfo { /* private fields */ }
Available on
wgpu_core
or naga
only.Implementations§
source§impl ModuleInfo
impl ModuleInfo
pub fn get_entry_point(&self, index: usize) -> &FunctionInfo
Available on
wgpu_core
only.Trait Implementations§
source§impl Clone for ModuleInfo
impl Clone for ModuleInfo
source§fn clone(&self) -> ModuleInfo
fn clone(&self) -> ModuleInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModuleInfo
impl Debug for ModuleInfo
source§impl<'de> Deserialize<'de> for ModuleInfo
impl<'de> Deserialize<'de> for ModuleInfo
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ModuleInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ModuleInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Index<Handle<Expression>> for ModuleInfo
impl Index<Handle<Expression>> for ModuleInfo
§type Output = TypeResolution
type Output = TypeResolution
The returned type after indexing.
source§fn index(
&self,
handle: Handle<Expression>
) -> &<ModuleInfo as Index<Handle<Expression>>>::Output
fn index( &self, handle: Handle<Expression> ) -> &<ModuleInfo as Index<Handle<Expression>>>::Output
Performs the indexing (
container[index]
) operation. Read moresource§impl Serialize for ModuleInfo
impl Serialize for ModuleInfo
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ModuleInfo
impl Send for ModuleInfo
impl Sync for ModuleInfo
impl Unpin for ModuleInfo
impl UnwindSafe for ModuleInfo
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