pub struct EmmyrcGmod {Show 15 fields
pub enabled: bool,
pub default_realm: EmmyrcGmodRealm,
pub scripted_class_scopes: EmmyrcGmodScriptedClassScopes,
pub hook_mappings: EmmyrcGmodHookMappings,
pub network: EmmyrcGmodNetwork,
pub vgui: EmmyrcGmodVgui,
pub outline: EmmyrcGmodOutline,
pub file_param_defaults: HashMap<String, String>,
pub detect_realm_from_filename: Option<bool>,
pub detect_realm_from_calls: Option<bool>,
pub infer_dynamic_fields: bool,
pub dynamic_fields_global: bool,
pub annotations_path: Option<String>,
pub auto_load_annotations: Option<bool>,
pub template_path: Option<String>,
}Fields§
§enabled: bool§default_realm: EmmyrcGmodRealm§scripted_class_scopes: EmmyrcGmodScriptedClassScopes§hook_mappings: EmmyrcGmodHookMappings§network: EmmyrcGmodNetwork§vgui: EmmyrcGmodVgui§outline: EmmyrcGmodOutline§file_param_defaults: HashMap<String, String>Parameter-name to type-name fallbacks for otherwise unresolved params.
detect_realm_from_filename: Option<bool>§detect_realm_from_calls: Option<bool>§infer_dynamic_fields: bool§dynamic_fields_global: bool§annotations_path: Option<String>Path to GMod annotations to load as core library.
When set to empty string or not provided, uses VSCode extension’s auto-downloaded annotations (if enabled).
Set to explicit path to override, or use autoLoadAnnotations: false in .emmyrc to disable entirely.
auto_load_annotations: Option<bool>Disable auto-loading of annotations (from VSCode or default path). This takes precedence over extension settings.
template_path: Option<String>Path to a folder containing custom GLua scaffolding templates (.lua files).
Built-in templates are used as fallback when a custom one is not found.
Accepts an absolute path or a path relative to the workspace root.
Trait Implementations§
Source§impl Clone for EmmyrcGmod
impl Clone for EmmyrcGmod
Source§fn clone(&self) -> EmmyrcGmod
fn clone(&self) -> EmmyrcGmod
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 EmmyrcGmod
impl Debug for EmmyrcGmod
Source§impl Default for EmmyrcGmod
impl Default for EmmyrcGmod
Source§impl<'de> Deserialize<'de> for EmmyrcGmod
impl<'de> Deserialize<'de> for EmmyrcGmod
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 JsonSchema for EmmyrcGmod
impl JsonSchema for EmmyrcGmod
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for EmmyrcGmod
impl RefUnwindSafe for EmmyrcGmod
impl Send for EmmyrcGmod
impl Sync for EmmyrcGmod
impl Unpin for EmmyrcGmod
impl UnsafeUnpin for EmmyrcGmod
impl UnwindSafe for EmmyrcGmod
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more