pub trait SourceString: Display {
// Required method
fn as_str(&self) -> &str;
}
Required Methods§
Trait Implementations§
Source§impl From<&dyn SourceString> for Symbol
impl From<&dyn SourceString> for Symbol
Source§fn from(val: &dyn SourceString) -> Self
fn from(val: &dyn SourceString) -> Self
Converts to this type from the input type.