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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChangedFile
impl Debug for ChangedFile
Source§impl Hash for ChangedFile
impl Hash for ChangedFile
Source§impl PartialEq for ChangedFile
impl PartialEq for ChangedFile
impl Eq for ChangedFile
impl StructuralPartialEq for ChangedFile
Auto Trait Implementations§
impl Freeze for ChangedFile
impl RefUnwindSafe for ChangedFile
impl Send for ChangedFile
impl Sync for ChangedFile
impl Unpin for ChangedFile
impl UnwindSafe for ChangedFile
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