Source

Trait Source 

Source
pub trait Source: Clone {
    type Raw;

    // Required methods
    fn describe(&self, f: &mut Formatter<'_>, offset: usize) -> Result;
    fn raw(&self) -> Self::Raw;
}

Required Associated Types§

Required Methods§

Source

fn describe(&self, f: &mut Formatter<'_>, offset: usize) -> Result

Source

fn raw(&self) -> Self::Raw

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§