pub enum LayoutProjection {
Class(LayoutClass),
ExactStrides(StrideVec),
}Expand description
Projected layout specialization.
§Examples
use tenferro_runtime::{LayoutClass, LayoutProjection};
let layout = LayoutClass::new("tenferro.layout.strided")?;
let projection = LayoutProjection::Class(layout.clone());
assert_eq!(projection, LayoutProjection::Class(layout));Variants§
Trait Implementations§
Source§impl Clone for LayoutProjection
impl Clone for LayoutProjection
Source§impl Debug for LayoutProjection
impl Debug for LayoutProjection
impl Eq for LayoutProjection
Source§impl Hash for LayoutProjection
impl Hash for LayoutProjection
Source§impl PartialEq for LayoutProjection
impl PartialEq for LayoutProjection
impl StructuralPartialEq for LayoutProjection
Auto Trait Implementations§
impl Freeze for LayoutProjection
impl RefUnwindSafe for LayoutProjection
impl Send for LayoutProjection
impl Sync for LayoutProjection
impl Unpin for LayoutProjection
impl UnsafeUnpin for LayoutProjection
impl UnwindSafe for LayoutProjection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more