Trait lambda_mountain::Fragment

source ·
pub trait Fragment {
    // Provided methods
    fn fragment_type(&self) -> FragmentType { ... }
    fn as_literal(&self) -> impl Fragment + Constant + Literal { ... }
    fn as_register(&self) -> impl Fragment + Constant + Register { ... }
    fn as_global_variable(&self) -> impl Fragment + Constant + GlobalVariable { ... }
    fn as_local_variable(&self) -> impl Fragment + Constant + LocalVariable { ... }
    fn as_stack_variable(&self) -> impl Fragment + Constant + StackVariable { ... }
}

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§