Trait cpclib_asm::preamble::instructions::MacroParamElement
source · pub trait MacroParamElement: Clone + Debug {
// Required methods
fn empty() -> Self;
fn is_single(&self) -> bool;
fn is_list(&self) -> bool;
fn single_argument(&self) -> Cow<'_, str, Lean>;
fn list_argument(&self) -> &[Box<Self>];
}Required Methods§
fn empty() -> Self
fn is_single(&self) -> bool
fn is_list(&self) -> bool
fn single_argument(&self) -> Cow<'_, str, Lean>
fn list_argument(&self) -> &[Box<Self>]
Object Safety§
This trait is not object safe.