Skip to main content

Layout

Trait Layout 

Source
pub trait Layout {
    const STRIDE: usize;
}
Expand description

How the degrees of freedom are laid out, STRIDE to a node, indexed as STRIDE * node + offset.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<A, B> Layout for Coupled<A, B>
where A: Layout, B: Layout,

Source§

impl<U> Layout for Field<U>

Source§

impl<const D: usize> Layout for Solid<D>

Source§

impl<const D: usize> Layout for SolidRate<D>