pub struct Description {
pub name: String,
pub extensions: Vec<String>,
pub aliases: Vec<String>,
pub write: bool,
pub samples: Vec<String>,
}Expand description
What a language says about itself.
Fields§
§name: StringA lowercase identifier no format already answers to.
extensions: Vec<String>Dot-less and lowercase, and no format’s already.
aliases: Vec<String>§write: boolWhether the language prints — Language::print is then called.
samples: Vec<String>Small documents the load check holds the language to. At least one.
Trait Implementations§
Source§impl Clone for Description
impl Clone for Description
Source§impl Debug for Description
impl Debug for Description
Source§impl Default for Description
impl Default for Description
impl Eq for Description
Source§impl PartialEq for Description
impl PartialEq for Description
impl StructuralPartialEq for Description
Auto Trait Implementations§
impl Freeze for Description
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnsafeUnpin for Description
impl UnwindSafe for Description
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more