Trait 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§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§