pub struct SimpleFile { /* private fields */ }
Expand description
A file database that contains only one file.
Implementations§
Source§impl SimpleFile
impl SimpleFile
Trait Implementations§
Source§impl Clone for SimpleFile
impl Clone for SimpleFile
Source§fn clone(&self) -> SimpleFile
fn clone(&self) -> SimpleFile
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 SimpleFile
impl Debug for SimpleFile
Source§impl Files for SimpleFile
impl Files for SimpleFile
Source§fn name(&self, _id: FileId) -> Option<&str>
fn name(&self, _id: FileId) -> Option<&str>
Returns the name of the file identified by the id.
Source§fn source(&self, _id: FileId) -> Option<&str>
fn source(&self, _id: FileId) -> Option<&str>
Returns the source of the file identified by the id.
Auto Trait Implementations§
impl Freeze for SimpleFile
impl RefUnwindSafe for SimpleFile
impl Send for SimpleFile
impl Sync for SimpleFile
impl Unpin for SimpleFile
impl UnwindSafe for SimpleFile
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