Enum layered_nlp::InputToken [−][src]
pub enum InputToken { Text { text: String, attrs: Vec<AnyAttribute>, }, Custom { size: usize, attrs: Vec<AnyAttribute>, }, }
Variants
Show fields
Fields of Text
text: String
This text will be split up and TextTags will be added to its pieces
attrs: Vec<AnyAttribute>
Custom attributes
Show fields
Fields of Custom
Implementations
impl InputToken
[src]
impl InputToken
[src]