Skip to content

Commit

Permalink
Split StructDType from DType file and restrict ViewedDType visibility…
Browse files Browse the repository at this point in the history
… to the crate (#1890)
  • Loading branch information
robert3005 authored Jan 10, 2025
1 parent 680c2ea commit e4795d9
Show file tree
Hide file tree
Showing 5 changed files with 425 additions and 419 deletions.
2 changes: 1 addition & 1 deletion vortex-buffer/src/const.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use vortex_error::{vortex_bail, VortexError};
use crate::{Alignment, Buffer};

/// A buffer of items of `T` with a compile-time alignment.
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd)]
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Hash)]
pub struct ConstBuffer<T, const A: usize>(Buffer<T>);

impl<T, const A: usize> ConstBuffer<T, A> {
Expand Down
Loading

0 comments on commit e4795d9

Please sign in to comment.