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 Parsable for FileLocation
impl Parsable for FileLocation
source§fn parse_impl<S: TexlangState>(input: &mut ExpandedStream<S>) -> Result<Self>
fn parse_impl<S: TexlangState>(input: &mut ExpandedStream<S>) -> Result<Self>
Parses a value from the vm::ExpandedStream.
source§fn parse<S: TexlangState, I>(input: &mut I) -> Result<Self>where
I: AsMut<ExpandedStream<S>>,
fn parse<S: TexlangState, I>(input: &mut I) -> Result<Self>where
I: AsMut<ExpandedStream<S>>,
Parses a value from an input stream. Read more
source§impl PartialEq for FileLocation
impl PartialEq for FileLocation
impl Eq for FileLocation
impl StructuralPartialEq for FileLocation
Auto Trait Implementations§
impl Freeze for FileLocation
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