Enum wai_parser::FunctionKind
source · pub enum FunctionKind {
Freestanding,
Static {
resource: ResourceId,
name: String,
},
Method {
resource: ResourceId,
name: String,
},
}
Variants§
Trait Implementations§
source§impl Clone for FunctionKind
impl Clone for FunctionKind
source§fn clone(&self) -> FunctionKind
fn clone(&self) -> FunctionKind
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 FunctionKind
impl Debug for FunctionKind
source§impl PartialEq<FunctionKind> for FunctionKind
impl PartialEq<FunctionKind> for FunctionKind
source§fn eq(&self, other: &FunctionKind) -> bool
fn eq(&self, other: &FunctionKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.