feat: add a new empty struct Handful
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ mod trt;
|
|||||||
mod tst;
|
mod tst;
|
||||||
|
|
||||||
pub(crate) use crate::str::failed_to::E as FailedTo;
|
pub(crate) use crate::str::failed_to::E as FailedTo;
|
||||||
|
pub(crate) use crate::str::handful::O as Handful;
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,7 @@ use crate::*;
|
|||||||
// use std::str::FromStr;
|
// use std::str::FromStr;
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, PartialOrd, Eq, Ord, Clone, Copy, Hash)]
|
#[derive(Debug, PartialEq, PartialOrd, Eq, Ord, Clone, Copy, Hash)]
|
||||||
pub enum E {
|
pub enum E {}
|
||||||
}
|
|
||||||
|
|
||||||
// impl Display for E {
|
// impl Display for E {
|
||||||
// fn fmt(&self, f: &mut std::fmt::Formatter) -> std::result::Result<(), std::fmt::Error> {
|
// fn fmt(&self, f: &mut std::fmt::Formatter) -> std::result::Result<(), std::fmt::Error> {
|
||||||
|
|||||||
15
01.workspace/oxidice_lib/src/str/handful.rs
Normal file
15
01.workspace/oxidice_lib/src/str/handful.rs
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
use crate::*;
|
||||||
|
|
||||||
|
#[derive(Debug, Default, PartialEq, Clone)]
|
||||||
|
pub struct O {}
|
||||||
|
|
||||||
|
// impl std::fmt::Display for O {
|
||||||
|
// fn fmt(&self, _f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> {
|
||||||
|
// todo!();
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// #[cfg(test)]
|
||||||
|
// mod unit_tests {
|
||||||
|
// use super::*;
|
||||||
|
// }
|
||||||
@@ -1 +1,2 @@
|
|||||||
pub mod failed_to;
|
pub mod failed_to;
|
||||||
|
pub mod handful;
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user