Skip to content

Commit

Permalink
bumped crate version
Browse files Browse the repository at this point in the history
  • Loading branch information
oh-yes-0-fps committed Aug 23, 2024
1 parent 962cbed commit 7996d7f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "frclib-core"
version = "0.2.2"
version = "0.2.3"
edition = "2021"
license = "MIT"
description = "A collection of utilities to be used across the FRC in rust ecosystem"
Expand Down
5 changes: 5 additions & 0 deletions src/value/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ impl<T: Into<FrcValue> + Send + Sync> IntoFrcValue for T {
/// A trait allowing static type checking on some types that implement [``IntoFrcValue``](crate::value::IntoFrcValue).
#[allow(unused)]
pub trait StaticallyFrcTyped: IntoFrcValue {
/// The type of the value, used for static type checking.
const TYPE: FrcType;
/// Whether the value could be void.
///
/// This may be superseeded by type unions but for now this will be used.
/// If this is true think of it as adding and Option<> around the type.
const COULD_BE_VOID: bool = false;
}

0 comments on commit 7996d7f

Please sign in to comment.