pub struct MethodSummary {
pub name: String,
pub path: String,
pub signature: String,
pub is_unsafe: bool,
pub is_const: bool,
pub is_async: bool,
}Expand description
Summary of a method (for listings).
Fieldsยง
ยงname: Stringยงpath: Stringยงsignature: Stringยงis_unsafe: boolยงis_const: boolยงis_async: boolTrait Implementationsยง
Sourceยงimpl Clone for MethodSummary
impl Clone for MethodSummary
Sourceยงfn clone(&self) -> MethodSummary
fn clone(&self) -> MethodSummary
Returns a duplicate 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 MethodSummary
impl Debug for MethodSummary
Sourceยงimpl<'de> Deserialize<'de> for MethodSummary
impl<'de> Deserialize<'de> for MethodSummary
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 MethodSummary
impl RefUnwindSafe for MethodSummary
impl Send for MethodSummary
impl Sync for MethodSummary
impl Unpin for MethodSummary
impl UnwindSafe for MethodSummary
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