create traits module
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
//! File: traits.rs
|
|
||||||
//! Description: Contains the traits used in the project.
|
|
||||||
//! Created On: TIMESTAMP
|
|
||||||
//! Last Modified: TIMESTAMP
|
|
||||||
//! Author: Jali <jali@orca-central.de>
|
|
||||||
|
|
||||||
pub mod
|
|
||||||
9
src/traits/Document.rs
Normal file
9
src/traits/Document.rs
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
// File: traits/Document.rs
|
||||||
|
// Description: Defines a trait for a gopher document.
|
||||||
|
// Created On: Tue 08 Oct 2019 09:37:41 pm CEST
|
||||||
|
// Least Modified: Tue 08 Oct 2019 09:37:41 pm CEST
|
||||||
|
// Author: Jali <jali@orca-central.de>
|
||||||
|
|
||||||
|
/// Defines a gopher document.
|
||||||
|
/// A valid document is any document, that can be a selector in gopher.
|
||||||
|
pub trait Document {}
|
||||||
Reference in New Issue
Block a user