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
Source§fn clone(&self) -> LanguageMetadata
fn clone(&self) -> LanguageMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LanguageMetadata
impl Debug 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