pub struct Language {Show 16 fields
pub name: &'static str,
pub type: &'static str,
pub color: &'static str,
pub extensions: &'static [&'static str],
pub aliases: &'static [&'static str],
pub tm_scope: &'static str,
pub ace_mode: &'static str,
pub language_id: u64,
pub codemirror_mode: Option<&'static str>,
pub codemirror_mime_type: Option<&'static str>,
pub wrap: Option<bool>,
pub filenames: &'static [&'static str],
pub group: Option<&'static str>,
pub interpreters: &'static [&'static str],
pub fs_name: Option<&'static str>,
pub searchable: Option<bool>,
}
Fields§
§name: &'static str
§type: &'static str
§color: &'static str
§extensions: &'static [&'static str]
§aliases: &'static [&'static str]
§tm_scope: &'static str
§ace_mode: &'static str
§language_id: u64
§codemirror_mode: Option<&'static str>
§codemirror_mime_type: Option<&'static str>
§wrap: Option<bool>
§filenames: &'static [&'static str]
§group: Option<&'static str>
§interpreters: &'static [&'static str]
§fs_name: Option<&'static str>
§searchable: Option<bool>
Trait Implementations§
impl StructuralPartialEq for Language
Auto Trait Implementations§
impl Freeze for Language
impl RefUnwindSafe for Language
impl Send for Language
impl Sync for Language
impl Unpin for Language
impl UnwindSafe for Language
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)