pub struct FileBuf {
pub path: String,
pub content: String,
}Expand description
One selected file, held in memory for the whole simulation.
Fields§
§path: String§content: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for FileBuf
impl RefUnwindSafe for FileBuf
impl Send for FileBuf
impl Sync for FileBuf
impl Unpin for FileBuf
impl UnsafeUnpin for FileBuf
impl UnwindSafe for FileBuf
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