[][src]Struct customasm::Report

pub struct Report { /* fields omitted */ }

Methods

impl Report[src]

pub fn new() -> Report[src]

pub fn error<S>(&mut self, descr: S) where
    S: Into<String>, 
[src]

pub fn error_span<S>(&mut self, descr: S, span: &Span) where
    S: Into<String>, 
[src]

pub fn warning<S>(&mut self, descr: S) where
    S: Into<String>, 
[src]

pub fn warning_span<S>(&mut self, descr: S, span: &Span) where
    S: Into<String>, 
[src]

pub fn push_parent<S>(&mut self, descr: S, span: &Span) where
    S: Into<String>, 
[src]

pub fn pop_parent(&mut self)[src]

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

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

pub fn has_error_at(
    &self,
    fileserver: &dyn FileServer,
    filename: &str,
    line: usize,
    error_excerpt: &str
) -> bool
[src]

pub fn print_all(&self, writer: &mut dyn Write, fileserver: &dyn FileServer)[src]

Auto Trait Implementations

impl !RefUnwindSafe for Report

impl !Send for Report

impl !Sync for Report

impl Unpin for Report

impl UnwindSafe for Report

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, 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.