[][src]Struct customasm::diagn::RcReport

pub struct RcReport { /* fields omitted */ }

Implementations

impl RcReport[src]

pub fn new() -> RcReport[src]

pub fn transfer_to(&self, other: RcReport)[src]

pub fn into_inner(self) -> Report[src]

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

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

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

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

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

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

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

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

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

pub fn len(&self) -> usize[src]

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

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

pub fn has_first_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]

Trait Implementations

impl Clone for RcReport[src]

Auto Trait Implementations

impl !RefUnwindSafe for RcReport

impl !Send for RcReport

impl !Sync for RcReport

impl Unpin for RcReport

impl !UnwindSafe for RcReport

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