Enum tree_sitter_cli::test::TestEntry
source · [−]pub enum TestEntry {
Group {
name: String,
children: Vec<TestEntry>,
file_path: Option<PathBuf>,
},
Example {
name: String,
input: Vec<u8>,
output: String,
has_fields: bool,
},
}Variants
Group
Example
Trait Implementations
impl Eq for TestEntry
impl StructuralEq for TestEntry
impl StructuralPartialEq for TestEntry
Auto Trait Implementations
impl RefUnwindSafe for TestEntry
impl Send for TestEntry
impl Sync for TestEntry
impl Unpin for TestEntry
impl UnwindSafe for TestEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.