Skip to main content

Alignment

Trait Alignment 

Source
pub trait Alignment: 'static {
    type Address<'a>;

    // Required method
    fn raise_at(
        operation: &'static str,
        cause: impl Diagnostic,
        address: &Self::Address<'_>,
    ) -> Box<Failure>;
}

Required Associated Types§

Source

type Address<'a>

Required Methods§

Source

fn raise_at( operation: &'static str, cause: impl Diagnostic, address: &Self::Address<'_>, ) -> Box<Failure>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§