Enum vk_parse::InterfaceItem [−][src]
pub enum InterfaceItem { Comment(String), Type { name: String, comment: Option<String>, }, Enum(Enum), Command { name: String, comment: Option<String>, }, }
An interface item is a function or an enum which makes up a Vulkan interface.
This structure is used by extensions to express dependencies or include functionality.
Variants
Comment(String)
Type
Fields of Type
name: String | |
comment: Option<String> |
Enum(Enum)
Command
Fields of Command
name: String | |
comment: Option<String> |
Trait Implementations
impl From<InterfaceItem> for FeatureReference
[src]
impl From<InterfaceItem> for FeatureReference
fn from(orig: InterfaceItem) -> Self
[src]
fn from(orig: InterfaceItem) -> Self
Performs the conversion.
impl From<InterfaceItem> for Option<ExtensionSpecificationElement>
[src]
impl From<InterfaceItem> for Option<ExtensionSpecificationElement>
fn from(orig: InterfaceItem) -> Self
[src]
fn from(orig: InterfaceItem) -> Self
Performs the conversion.
impl Debug for InterfaceItem
[src]
impl Debug for InterfaceItem
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for InterfaceItem
[src]
impl Clone for InterfaceItem
fn clone(&self) -> InterfaceItem
[src]
fn clone(&self) -> InterfaceItem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for InterfaceItem
impl Send for InterfaceItem
impl Sync for InterfaceItem
impl Sync for InterfaceItem