rust_texas/component/
misc.rs

1use crate::prelude::*;
2
3/// \input{}, if you want that kinda thing. ~Personally, I've never used it.~
4/// I _have_ used it. Pretty useful.
5#[derive(Debug, Clone)]
6pub struct Input {
7    name: String,
8}
9impl AsLatex for Input {
10    fn to_string(&self) -> String {
11        format!("\\input{{{}}}", self.name)
12    }
13}