Struct rls_vfs::Vfs

source ·
pub struct Vfs<U = ()>(_);

Implementations§

Creates a new, empty VFS.

Indicate that the current file as known to the VFS has been written to disk.

Removes a file from the VFS. Does not check if the file is synced with the disk. Does not check if the file exists.

Record a set of changes to the VFS.

Return all files in the VFS.

Returns true if the VFS contains any changed files.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.