[][src]Struct wlambda::vval::SynPos

pub struct SynPos {
    pub syn: Syntax,
    pub line: u32,
    pub col: u16,
    pub file: FileRef,
    pub name: Option<Rc<String>>,
}

Structure for holding information about origin of an AST node.

Fields

syn: Syntaxline: u32col: u16file: FileRefname: Option<Rc<String>>

Implementations

impl SynPos[src]

pub fn empty() -> Self[src]

pub fn s_short(&self) -> String[src]

Trait Implementations

impl Clone for SynPos[src]

impl Debug for SynPos[src]

impl Display for SynPos[src]

impl PartialEq<SynPos> for SynPos[src]

impl StructuralPartialEq for SynPos[src]

Auto Trait Implementations

impl !RefUnwindSafe for SynPos

impl !Send for SynPos

impl !Sync for SynPos

impl Unpin for SynPos

impl UnwindSafe for SynPos

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.