pub struct CocomoEstimate {
pub mode: CocomoMode,
pub ksloc: f64,
pub effort_person_months: f64,
pub duration_months: f64,
pub avg_staff: f64,
}Expand description
COCOMO I (Basic) cost-estimation result derived from total code SLOC.
Fields§
§mode: CocomoMode§ksloc: f64Input: code lines in thousands (KSLOC).
effort_person_months: f64Estimated development effort in person-months.
duration_months: f64Estimated schedule duration in months.
avg_staff: f64Average team size (effort ÷ duration).
Trait Implementations§
Source§impl Clone for CocomoEstimate
impl Clone for CocomoEstimate
Source§fn clone(&self) -> CocomoEstimate
fn clone(&self) -> CocomoEstimate
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 CocomoEstimate
impl Debug for CocomoEstimate
Source§impl<'de> Deserialize<'de> for CocomoEstimate
impl<'de> Deserialize<'de> for CocomoEstimate
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 CocomoEstimate
impl RefUnwindSafe for CocomoEstimate
impl Send for CocomoEstimate
impl Sync for CocomoEstimate
impl Unpin for CocomoEstimate
impl UnsafeUnpin for CocomoEstimate
impl UnwindSafe for CocomoEstimate
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