Struct mun_vfs::ChangedFile
source · pub struct ChangedFile {
pub file_id: FileId,
pub kind: ChangeKind,
}
Expand description
A record of a change to a file
Fields§
§file_id: FileId
§kind: ChangeKind
Implementations§
source§impl ChangedFile
impl ChangedFile
sourcepub fn is_created_or_deleted(&self) -> bool
pub fn is_created_or_deleted(&self) -> bool
Returns true if this change indicates that the file was created or deleted
Trait Implementations§
source§impl Clone for ChangedFile
impl Clone for ChangedFile
source§fn clone(&self) -> ChangedFile
fn clone(&self) -> ChangedFile
Returns a copy 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 more