pub struct DocFile {
pub path: String,
pub content: String,
}Expand description
A documentation file: a store-relative path (forward-slash separated) and its text content.
Fields§
§path: String§content: StringTrait Implementations§
impl Eq for DocFile
impl StructuralPartialEq for DocFile
Auto Trait Implementations§
impl Forget for DocFile
impl Freeze for DocFile
impl Move for DocFile
impl RefUnwindSafe for DocFile
impl Send for DocFile
impl Sync for DocFile
impl Unpin for DocFile
impl UnsafeUnpin for DocFile
impl UnwindSafe for DocFile
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