pub struct FunctionItem {
pub signature: Signature,
pub generics: Generics,
pub is_const: bool,
pub is_async: bool,
pub is_unsafe: bool,
pub has_body: bool,
}Fields§
§signature: Signature§generics: Generics§is_const: bool§is_async: bool§is_unsafe: bool§has_body: boolTrait Implementations§
Source§impl Clone for FunctionItem
impl Clone for FunctionItem
Source§fn clone(&self) -> FunctionItem
fn clone(&self) -> FunctionItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FunctionItem
impl Debug for FunctionItem
Source§impl<'de> Deserialize<'de> for FunctionItem
impl<'de> Deserialize<'de> for FunctionItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FunctionItem
impl RefUnwindSafe for FunctionItem
impl Send for FunctionItem
impl Sync for FunctionItem
impl Unpin for FunctionItem
impl UnsafeUnpin for FunctionItem
impl UnwindSafe for FunctionItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more