mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
21 lines
356 B
Rust
21 lines
356 B
Rust
mod gemini;
|
|
|
|
use super::{Feature, Subject};
|
|
use gemini::Gemini;
|
|
use std::rc::Rc;
|
|
|
|
/// Different protocols implementation
|
|
pub struct Driver {
|
|
pub gemini: Gemini,
|
|
}
|
|
|
|
impl Driver {
|
|
// Constructors
|
|
|
|
/// Build new `Self`
|
|
pub fn build(subject: &Rc<Subject>) -> Self {
|
|
Driver {
|
|
gemini: Gemini::init(subject),
|
|
}
|
|
}
|
|
}
|