pub struct Data<T> {
pub path: PathBuf,
pub items: Vec<T>,
}
Expand description
File’s path and parsed items.
Fields§
§path: PathBuf
Path of the source file.
items: Vec<T>
Processed data of the source file.
Trait Implementations§
source§impl<T: PartialEq> PartialEq for Data<T>
impl<T: PartialEq> PartialEq for Data<T>
impl<T> StructuralPartialEq for Data<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Data<T>where
T: RefUnwindSafe,
impl<T> Send for Data<T>where
T: Send,
impl<T> Sync for Data<T>where
T: Sync,
impl<T> Unpin for Data<T>where
T: Unpin,
impl<T> UnwindSafe for Data<T>where
T: UnwindSafe,
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