Struct ezomyte::Mod
[−]
[src]
pub struct Mod { /* fields omitted */ }
A single item mod occurrence.
Methods
impl Mod
[src]
pub fn new<T: Into<String>>(type_: ModType, text: T) -> Self
[src]
Create Mod
from given mod text that's found on an item.
impl Mod
[src]
pub fn mod_type(&self) -> ModType
[src]
Mod type (explicit, implicit, etc.).
pub fn as_str(&self) -> &str
[src]
Mod text as string.
Trait Implementations
impl Clone for Mod
[src]
fn clone(&self) -> Mod
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more