pub struct ContextFile {
pub path: PathBuf,
pub content: String,
}Fields§
§path: PathBuf§content: StringTrait Implementations§
Source§impl Clone for ContextFile
impl Clone for ContextFile
Source§fn clone(&self) -> ContextFile
fn clone(&self) -> ContextFile
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 ContextFile
impl Debug for ContextFile
Source§impl PartialEq for ContextFile
impl PartialEq for ContextFile
impl Eq for ContextFile
impl StructuralPartialEq for ContextFile
Auto Trait Implementations§
impl Freeze for ContextFile
impl RefUnwindSafe for ContextFile
impl Send for ContextFile
impl Sync for ContextFile
impl Unpin for ContextFile
impl UnsafeUnpin for ContextFile
impl UnwindSafe for ContextFile
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