[−][src]Struct lmake_lines_of_code::MockTraitCountLines
Traits and methods must be used for the mocking library.
Implementations
impl MockTraitCountLines[src]
pub fn checkpoint(&mut self)[src]
Immediately validate all expectations and clear them.
pub fn new() -> Self[src]
Create a new mock object with no expectations.
This method will not be generated if the real struct
already has a new method. However, it will be
generated if the struct implements a trait with a new
method. The trait's new method can still be called
like <MockX as TraitY>::new
impl MockTraitCountLines[src]
#[must_use = "Must set return value when not using the \"nightly\" feature"]pub fn expect_workspace_or_project_count_lines(&mut self) -> &mut Expectation[src]
Create an
Expectation for
mocking the ident method
#[must_use = "Must set return value when not using the \"nightly\" feature"]pub fn expect_process_git_remote(&mut self) -> &mut Expectation[src]
Create an
Expectation for
mocking the ident method
Trait Implementations
impl Default for MockTraitCountLines[src]
impl TraitCountLines for MockTraitCountLines[src]
fn workspace_or_project_count_lines(&self) -> LinesOfCode[src]
fn process_git_remote(&self) -> String[src]
Auto Trait Implementations
impl RefUnwindSafe for MockTraitCountLines
impl Send for MockTraitCountLines
impl Sync for MockTraitCountLines
impl Unpin for MockTraitCountLines
impl UnwindSafe for MockTraitCountLines
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any + ?Sized,
T: Any + ?Sized,
fn type_id_compat(&self) -> TypeId
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,