Struct texlang::parse::FileLocation
source · pub struct FileLocation {
pub path: String,
pub extension: Option<String>,
pub area: Option<String>,
}
Expand description
Representation of a file location in TeX
Fields§
§path: String
§extension: Option<String>
§area: Option<String>
Implementations§
source§impl FileLocation
impl FileLocation
Trait Implementations§
source§impl Debug for FileLocation
impl Debug for FileLocation
source§impl<S: TexlangState> Parsable<S> for FileLocation
impl<S: TexlangState> Parsable<S> for FileLocation
source§fn parse_impl(input: &mut ExpandedStream<S>) -> Result<Self, Box<Error>>
fn parse_impl(input: &mut ExpandedStream<S>) -> Result<Self, Box<Error>>
Parses a value from the vm::ExpandedStream.
source§impl PartialEq<FileLocation> for FileLocation
impl PartialEq<FileLocation> for FileLocation
source§fn eq(&self, other: &FileLocation) -> bool
fn eq(&self, other: &FileLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FileLocation
impl StructuralEq for FileLocation
impl StructuralPartialEq for FileLocation
Auto Trait Implementations§
impl RefUnwindSafe for FileLocation
impl Send for FileLocation
impl Sync for FileLocation
impl Unpin for FileLocation
impl UnwindSafe for FileLocation
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