Trait cpclib_asm::parser::SourceString

source ·
pub trait SourceString: Display {
    // Required method
    fn as_str(&self) -> &str;
}

Required Methods§

source

fn as_str(&self) -> &str

Trait Implementations§

source§

impl Into<Symbol> for &dyn SourceString

source§

fn into(self) -> Symbol

Converts this type into the (usually inferred) input type.

Implementations on Foreign Types§

source§

impl SourceString for &String

source§

fn as_str(&self) -> &str

source§

impl SourceString for &SmolStr

source§

fn as_str(&self) -> &str

source§

impl SourceString for SmolStr

source§

fn as_str(&self) -> &str

Implementors§