pub struct DLanguage {
pub d2_features: bool,
pub inline_asm: bool,
pub contracts: bool,
}Expand description
Language definition for D programming language
Fields§
§d2_features: boolWhether to enable D2 features
inline_asm: boolWhether to allow inline assembly
contracts: boolWhether to enable contract programming
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DLanguage
impl<'de> Deserialize<'de> for DLanguage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Language for DLanguage
impl Language for DLanguage
Source§const CATEGORY: LanguageCategory = LanguageCategory::Programming
const CATEGORY: LanguageCategory = LanguageCategory::Programming
The category of the language.
Source§type TokenType = DSyntaxKind
type TokenType = DSyntaxKind
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = DSyntaxKind
type ElementType = DSyntaxKind
The element type used to represent composite structures in the parsed tree. Read more
impl Copy for DLanguage
impl Eq for DLanguage
impl StructuralPartialEq for DLanguage
Auto Trait Implementations§
impl Freeze for DLanguage
impl RefUnwindSafe for DLanguage
impl Send for DLanguage
impl Sync for DLanguage
impl Unpin for DLanguage
impl UnwindSafe for DLanguage
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