pub struct LanguageMetadata {
pub id: LanguageId,
pub primary_extension: Option<&'static str>,
pub aliases: &'static [&'static str],
pub extensions: &'static [&'static str],
}Fields§
§id: LanguageId§primary_extension: Option<&'static str>§aliases: &'static [&'static str]§extensions: &'static [&'static str]Trait Implementations§
Source§impl Clone for LanguageMetadata
impl Clone for LanguageMetadata
impl Copy for LanguageMetadata
Auto Trait Implementations§
impl Freeze for LanguageMetadata
impl RefUnwindSafe for LanguageMetadata
impl Send for LanguageMetadata
impl Sync for LanguageMetadata
impl Unpin for LanguageMetadata
impl UnsafeUnpin for LanguageMetadata
impl UnwindSafe for LanguageMetadata
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