Struct grass::StdFs

source ·
pub struct StdFs;
Expand description

Use std::fs to read any files from disk.

This is the default file system implementation.

Trait Implementations§

Formats the value using the given formatter. Read more
Returns true if the path exists on disk and is pointing at a regular file.
Returns true if the path exists on disk and is pointing at a directory.
Read the entire contents of a file into a bytes vector.

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.