Struct kaolinite::document::FileInfo [−][src]
Expand description
A struct that stores information about a file
Fields
file: Option<String>
The file name of the document
is_dos: bool
True if \r\n is used, false if \n is used
tab_width: usize
Tab width of the file in spaces (default is 4, you can overwrite if need be) There is a slight quirk, however. You must edit this field directly after defining a Document, otherwise, the configuration may not apply.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileInfo
impl UnwindSafe for FileInfo
Blanket Implementations
Mutably borrows from an owned value. Read more