Struct devise::syn::ImplItemMethod
source · pub struct ImplItemMethod {
pub attrs: Vec<Attribute, Global>,
pub vis: Visibility,
pub defaultness: Option<Default>,
pub sig: MethodSig,
pub block: Block,
}
Expand description
A method within an impl block.
This type is available if Syn is built with the "full"
feature.
Fields§
§attrs: Vec<Attribute, Global>
§vis: Visibility
§defaultness: Option<Default>
§sig: MethodSig
§block: Block
Trait Implementations§
source§impl Clone for ImplItemMethod
impl Clone for ImplItemMethod
source§fn clone(&self) -> ImplItemMethod
fn clone(&self) -> ImplItemMethod
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 ImplItemMethod
impl Debug for ImplItemMethod
source§impl From<ImplItemMethod> for ImplItem
impl From<ImplItemMethod> for ImplItem
source§fn from(e: ImplItemMethod) -> ImplItem
fn from(e: ImplItemMethod) -> ImplItem
Converts to this type from the input type.