Enum mock_builder::location::TraitInfo
source · pub enum TraitInfo {
Yes,
No,
Whatever,
}
Expand description
Indicate how to perform the localtion hash
See FunctionLocation::hash()
Variants§
Yes
Create hash with trait info, panics if it has not.
No
Create hash with no trait info
Whatever
Create the hash with the trait info if it has trait info or not if it has none.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TraitInfo
impl Send for TraitInfo
impl Sync for TraitInfo
impl Unpin for TraitInfo
impl UnwindSafe for TraitInfo
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