pub struct PathnameFindOptions {
pub paths: Option<Vec<String>>,
pub extensions: Option<Vec<String>>,
pub installation_subdir: Option<String>,
}Expand description
configuration for filesystem search.
Mirrors Perl LaTeXML::Util::Pathname::pathname_find’s named-arg options;
kpsewhich-fallback is NOT one of them — that lives in higher-level
LaTeXML::Package::FindFile_aux, which calls pathname_kpsewhich after
pathname_find returns empty. Keep this struct directory-search-only
for parity.
Fields§
§paths: Option<Vec<String>>the allowed/requested paths to search in
extensions: Option<Vec<String>>the file extensions to search for
installation_subdir: Option<String>the location of the installation subdirectory (deprecated?)
Trait Implementations§
Source§impl Clone for PathnameFindOptions
impl Clone for PathnameFindOptions
Source§fn clone(&self) -> PathnameFindOptions
fn clone(&self) -> PathnameFindOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathnameFindOptions
impl Debug for PathnameFindOptions
Source§impl Default for PathnameFindOptions
impl Default for PathnameFindOptions
Source§fn default() -> PathnameFindOptions
fn default() -> PathnameFindOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PathnameFindOptions
impl RefUnwindSafe for PathnameFindOptions
impl Send for PathnameFindOptions
impl Sync for PathnameFindOptions
impl Unpin for PathnameFindOptions
impl UnsafeUnpin for PathnameFindOptions
impl UnwindSafe for PathnameFindOptions
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