[][src]Struct mini_haskell::lexeme::QName

pub struct QName {
    pub module: ModuleId,
    pub name: String,
}

Haskell qualified names (MId.name).

Fields

module: ModuleId

the module name in a qualified identifier.

name: String

the identifier name in a qualified identifier.

Implementations

impl QName[src]

pub fn new(name: String) -> Self[src]

Create a new qualified name.

pub fn append(&mut self, name: String)[src]

Append a name segment to a qualified name.

Trait Implementations

impl Clone for QName[src]

impl Debug for QName[src]

impl Display for QName[src]

impl Eq for QName[src]

impl PartialEq<QName> for QName[src]

impl StructuralEq for QName[src]

impl StructuralPartialEq for QName[src]

Auto Trait Implementations

impl RefUnwindSafe for QName

impl Send for QName

impl Sync for QName

impl Unpin for QName

impl UnwindSafe for QName

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.