Enum cbindgen::ItemType [−][src]
pub enum ItemType { Constants, Globals, Enums, Structs, Unions, Typedefs, OpaqueItems, Functions, }
Different item types that we can generate and filter.
Variants
Constants
Globals
Enums
Structs
Unions
Typedefs
OpaqueItems
Functions
Trait Implementations
impl Debug for ItemType
[src]
impl Debug for ItemType
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 ItemType
[src]
impl Clone for ItemType
fn clone(&self) -> ItemType
[src]
fn clone(&self) -> ItemType
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
impl PartialEq for ItemType
[src]
impl PartialEq for ItemType
fn eq(&self, other: &ItemType) -> bool
[src]
fn eq(&self, other: &ItemType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl FromStr for ItemType
[src]
impl FromStr for ItemType
type Err = String
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl<'de> Deserialize<'de> for ItemType
[src]
impl<'de> Deserialize<'de> for ItemType
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more