pub struct LangInfo {
pub name: &'static str,
pub aliases: &'static [&'static str],
pub extensions: &'static [&'static str],
}Expand description
Language metadata for listing.
Fields§
§name: &'static strCanonical name (first in names list).
aliases: &'static [&'static str]All name aliases (includes canonical name).
extensions: &'static [&'static str]File extensions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LangInfo
impl RefUnwindSafe for LangInfo
impl Send for LangInfo
impl Sync for LangInfo
impl Unpin for LangInfo
impl UnwindSafe for LangInfo
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