pub struct FunctionSummary {
pub id: String,
pub name: String,
pub file: PathBuf,
pub start_line: usize,
pub end_line: usize,
pub token_count: usize,
pub line_count: usize,
pub expected_group: Option<String>,
}Fields§
§id: String§name: String§file: PathBuf§start_line: usize§end_line: usize§token_count: usize§line_count: usize§expected_group: Option<String>Trait Implementations§
Source§impl Clone for FunctionSummary
impl Clone for FunctionSummary
Source§fn clone(&self) -> FunctionSummary
fn clone(&self) -> FunctionSummary
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 FunctionSummary
impl Debug for FunctionSummary
Source§impl<'de> Deserialize<'de> for FunctionSummary
impl<'de> Deserialize<'de> for FunctionSummary
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
Source§impl From<&FunctionRecord> for FunctionSummary
impl From<&FunctionRecord> for FunctionSummary
Source§fn from(function: &FunctionRecord) -> Self
fn from(function: &FunctionRecord) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FunctionSummary
impl RefUnwindSafe for FunctionSummary
impl Send for FunctionSummary
impl Sync for FunctionSummary
impl Unpin for FunctionSummary
impl UnsafeUnpin for FunctionSummary
impl UnwindSafe for FunctionSummary
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