Enum syn::ForeignItemKind
[−]
[src]
pub enum ForeignItemKind { Fn(Box<FnDecl>, Generics), Static(Box<Ty>, Mutability), }
An item within an extern
block
Variants
Fn(Box<FnDecl>, Generics)
A foreign function
Static(Box<Ty>, Mutability)
A foreign static item (static ext: u8
)
Trait Implementations
impl Debug for ForeignItemKind
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ForeignItemKind
[src]
fn clone(&self) -> ForeignItemKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for ForeignItemKind
[src]
impl PartialEq for ForeignItemKind
[src]
fn eq(&self, __arg_0: &ForeignItemKind) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ForeignItemKind) -> bool
[src]
This method tests for !=
.