[][src]Trait zc::Dependant

pub unsafe trait Dependant<'a>: Sized {
    type Static: Dependant<'static>;
}

Dependant is implemented for types that use data provided by an Owner.

Implementation

Do not implement this manually and instead use the provided proc-macro as show below.

use zc::Dependant;

#[derive(Dependant)]
pub struct MyStruct<'a> {
    value: &'a str,
}

Associated Types

type Static: Dependant<'static>[src]

Always the exact same structure as Self but instead with a 'static lifetime.

Loading content...

Implementors

Loading content...