Trait ezno_parser::functions::LeadingParameter

source ·
pub trait LeadingParameter: Send + Sync + Sized + Debug + PartialEq + Clone + 'static {
    // Required methods
    fn try_make(
        this_annotation: Option<ThisParameter>,
        super_annotation: Option<SuperParameter>
    ) -> ParseResult<Self>;
    fn get_this_parameter(&self) -> Option<&ThisParameter>;
    fn get_super_parameter(&self) -> Option<&SuperParameter>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl LeadingParameter for (Option<ThisParameter>, Option<SuperParameter>)

source§

impl LeadingParameter for Option<ThisParameter>

source§

impl LeadingParameter for ()

Implementors§