cpclib_asm::parser

Trait 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 From<&dyn SourceString> for Symbol

Source§

fn from(val: &dyn SourceString) -> Self

Converts to this type from the 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§