pub struct Fixture {
pub relative_path: RelativePathBuf,
pub text: String,
}
Expand description
A Fixture
describes an single file in a project workspace. Fixture
s can be parsed from a
single string with the parse
function. Using that function enables users to conveniently
describe an entire workspace in a single string.
Fields§
§relative_path: RelativePathBuf
The relative path of this file
text: String
The text of the file
Implementations§
Trait Implementations§
impl Eq for Fixture
impl StructuralEq for Fixture
impl StructuralPartialEq for Fixture
Auto Trait Implementations§
impl RefUnwindSafe for Fixture
impl Send for Fixture
impl Sync for Fixture
impl Unpin for Fixture
impl UnwindSafe for Fixture
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.