feat: add a new empty struct Die
This commit is contained in:
@@ -7,5 +7,6 @@ mod str;
|
|||||||
mod trt;
|
mod trt;
|
||||||
mod tst;
|
mod tst;
|
||||||
|
|
||||||
|
pub(crate) use crate::str::die::O as Die;
|
||||||
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;
|
pub(crate) use crate::str::handful::O as Handful;
|
||||||
|
|||||||
15
01.workspace/oxidice_lib/src/str/die.rs
Normal file
15
01.workspace/oxidice_lib/src/str/die.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,2 +1,3 @@
|
|||||||
|
pub mod die;
|
||||||
pub mod failed_to;
|
pub mod failed_to;
|
||||||
pub mod handful;
|
pub mod handful;
|
||||||
|
|||||||
Reference in New Issue
Block a user