pub trait FileStoreMut: FileStore {
// Required method
fn write(&mut self, path: &str, text: Option<String>);
}Expand description
FileStore Files can change (Files::write).
Required Methods§
Trait Implementations§
Source§impl FileStore for Box<dyn FileStoreMut>
Files of a store chosen at run time: an editor’s, whose files are
whatever its front end keeps, with whatever library beside them.
impl FileStore for Box<dyn FileStoreMut>
Files of a store chosen at run time: an editor’s, whose files are whatever its front end keeps, with whatever library beside them.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".