pub enum TestNodeKind {
Function,
Method,
Class,
Module,
}Expand description
The kind of test node.
Variants§
Function
A test function at module level.
Method
A test method within a class.
Class
A test class (container for methods).
Module
A test module (container for functions/classes).
Trait Implementations§
Source§impl Clone for TestNodeKind
impl Clone for TestNodeKind
Source§fn clone(&self) -> TestNodeKind
fn clone(&self) -> TestNodeKind
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 TestNodeKind
impl Debug for TestNodeKind
Source§impl Default for TestNodeKind
impl Default for TestNodeKind
Source§fn default() -> TestNodeKind
fn default() -> TestNodeKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestNodeKind
impl<'de> Deserialize<'de> for TestNodeKind
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 PartialEq for TestNodeKind
impl PartialEq for TestNodeKind
Source§impl Serialize for TestNodeKind
impl Serialize for TestNodeKind
impl Copy for TestNodeKind
impl Eq for TestNodeKind
impl StructuralPartialEq for TestNodeKind
Auto Trait Implementations§
impl Freeze for TestNodeKind
impl RefUnwindSafe for TestNodeKind
impl Send for TestNodeKind
impl Sync for TestNodeKind
impl Unpin for TestNodeKind
impl UnwindSafe for TestNodeKind
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