[][src]Enum loa::URI

pub enum URI {
    Exact(String),
    File(PathBuf),
    Stdlib(PathBuf),
    Stdin,
    REPLLine(usize),
    Main,
}

Variants

Exact(String)
File(PathBuf)
Stdlib(PathBuf)
Stdin
REPLLine(usize)
Main

Methods

impl URI[src]

pub fn neighboring_file(&self, name: &str) -> Option<URI>[src]

pub fn basename(&self) -> Option<String>[src]

pub fn matches_basename(&self, basename: &str) -> bool[src]

pub fn is_stdlib(&self) -> bool[src]

Trait Implementations

impl Clone for URI[src]

impl Debug for URI[src]

impl Display for URI[src]

impl Eq for URI[src]

impl Hash for URI[src]

impl PartialEq<URI> for URI[src]

impl StructuralEq for URI[src]

Auto Trait Implementations

impl RefUnwindSafe for URI

impl Send for URI

impl Sync for URI

impl Unpin for URI

impl UnwindSafe for URI

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.