Struct donet_core::dconfig::DCFileConfig
source · pub struct DCFileConfig {
pub dc_multiple_inheritance: bool,
pub dc_sort_inheritance_by_file: bool,
pub dc_virtual_inheritance: bool,
}
Expand description
Stored in the crate::dcfile::DCFile
structure.
Configuration variables to how the DC parser pipeline handles the semantics of the DC file(s) being read.
Fields§
§dc_multiple_inheritance: bool
Set this true to support multiple inheritance in the dc file. If this is false, the old way, multiple inheritance is not supported, but field numbers will be numbered sequentially, which may be required to support old code that assumed this.
dc_sort_inheritance_by_file: bool
This is a temporary hack. This should be true if you are using version 1.42 of the otp_server.exe binary, which sorted inherited fields based on the order of the classes within the DC file, rather than based on the order in which the references are made within the class.
dc_virtual_inheritance: bool
Set this true to support proper virtual inheritance in the dc file, so that diamond-of-death type constructs can be used. This also enables shadowing (overloading) of inherited method names from a base class.
Trait Implementations§
source§impl Clone for DCFileConfig
impl Clone for DCFileConfig
source§fn clone(&self) -> DCFileConfig
fn clone(&self) -> DCFileConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DCFileConfig
impl Debug for DCFileConfig
source§impl Default for DCFileConfig
impl Default for DCFileConfig
Creates the config struct with Panda’s defaults.
source§impl Display for DCFileConfig
impl Display for DCFileConfig
source§impl From<DCFileConfig> for DCFile
impl From<DCFileConfig> for DCFile
source§fn from(value: DCFileConfig) -> Self
fn from(value: DCFileConfig) -> Self
source§impl<'a> From<DCFileConfig> for PipelineData<'a>
impl<'a> From<DCFileConfig> for PipelineData<'a>
source§fn from(value: DCFileConfig) -> Self
fn from(value: DCFileConfig) -> Self
Auto Trait Implementations§
impl Freeze for DCFileConfig
impl RefUnwindSafe for DCFileConfig
impl Send for DCFileConfig
impl Sync for DCFileConfig
impl Unpin for DCFileConfig
impl UnwindSafe for DCFileConfig
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
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)
clone_to_uninit
)