pub trait Func: Func<Blocks: Arena<Self::Block, Output: Block<Self>>> {
type Value;
type Values: Arena<Self::Value, Output: Value<Self>>;
type VRef<'a>: Deref<Target = Self::Values>
where Self: 'a;
type VMut<'a>: DerefMut<Target = Self::Values>
where Self: 'a;
// Required methods
fn values<'a>(&'a self) -> Self::VRef<'a>;
fn values_mut<'a>(&'a mut self) -> Self::VMut<'a>;
}
Required Associated Types§
type Value
type Values: Arena<Self::Value, Output: Value<Self>>
type VRef<'a>: Deref<Target = Self::Values> where Self: 'a
type VMut<'a>: DerefMut<Target = Self::Values> where Self: 'a
Required Methods§
fn values<'a>(&'a self) -> Self::VRef<'a>
fn values_mut<'a>(&'a mut self) -> Self::VMut<'a>
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.