Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(storage): support vector block #871

Merged
merged 5 commits into from
Jan 26, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix fmt
Signed-off-by: Alex Chi <[email protected]>
skyzh committed Jan 26, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 8962ec078f84e92d4c18a6e0c6e65389aa8d79f5
5 changes: 4 additions & 1 deletion src/array/var_array.rs
Original file line number Diff line number Diff line change
@@ -21,7 +21,10 @@ pub struct VarArray<T: ValueRef<U> + ?Sized, U: PrimitiveValueType = u8> {
_type: PhantomData<T>,
}

pub trait PrimitiveValueType: Send + Sync + 'static + Copy + Clone + Default + PartialEq + Eq + Hash {}
pub trait PrimitiveValueType:
Send + Sync + 'static + Copy + Clone + Default + PartialEq + Eq + Hash
{
}

impl PrimitiveValueType for u8 {}
impl PrimitiveValueType for F64 {}