Skip to content

Commit dd35105

Browse files
author
Ian
committed
Added scalar type for single-sparse
1 parent 65b0b03 commit dd35105

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "single-utilities"
3-
version = "0.8.1"
3+
version = "0.8.2"
44
edition = "2024"
55
description = "This crate provdes types, traits and utility functions to the single-rust ecosystem that can be universally used. You can also use it within your own ecosystem 👀"
66
homepage = "https://singlerust.com"

src/traits/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,7 @@ impl<I: Unsigned + Zero + One + Copy + PartialEq + PartialOrd + From<usize> + In
9494
for I
9595
{
9696
}
97+
98+
pub trait Scalar: 'static + Clone + PartialEq + Debug {}
99+
100+
impl<T: 'static + Clone + PartialEq + Debug> Scalar for T {}

0 commit comments

Comments
 (0)