Enum naga::front::spv::ModuleState
source · pub enum ModuleState {
Show 13 variants
Empty,
Capability,
Extension,
ExtInstImport,
MemoryModel,
EntryPoint,
ExecutionMode,
Source,
Name,
ModuleProcessed,
Annotation,
Type,
Function,
}
Variants§
Empty
Capability
Extension
ExtInstImport
MemoryModel
EntryPoint
ExecutionMode
Source
Name
ModuleProcessed
Annotation
Type
Function
Trait Implementations§
source§impl Clone for ModuleState
impl Clone for ModuleState
source§fn clone(&self) -> ModuleState
fn clone(&self) -> ModuleState
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 ModuleState
impl Debug for ModuleState
source§impl PartialEq for ModuleState
impl PartialEq for ModuleState
source§fn eq(&self, other: &ModuleState) -> bool
fn eq(&self, other: &ModuleState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ModuleState
impl PartialOrd for ModuleState
source§fn partial_cmp(&self, other: &ModuleState) -> Option<Ordering>
fn partial_cmp(&self, other: &ModuleState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ModuleState
impl StructuralPartialEq for ModuleState
Auto Trait Implementations§
impl RefUnwindSafe for ModuleState
impl Send for ModuleState
impl Sync for ModuleState
impl Unpin for ModuleState
impl UnwindSafe for ModuleState
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