#[repr(C)]pub enum VSCoreCreationFlags {
EnableGraphInspection = 1,
DisableAutoLoading = 2,
DisableLibraryUnloading = 4,
}
Expand description
Options when creating a core.
Variants§
EnableGraphInspection = 1
Required to use the graph inspection api functions. Increases memory usage due to the extra information stored.
DisableAutoLoading = 2
Don’t autoload any user plugins. Core plugins are always loaded.
DisableLibraryUnloading = 4
Don’t unload plugin libraries when the core is destroyed. Due to a small amount of memory leaking every load and unload (windows feature, not my fault) of a library, this may help in applications with extreme amount of script reloading.
Trait Implementations§
Source§impl BitOr for VSCoreCreationFlags
impl BitOr for VSCoreCreationFlags
Source§impl Clone for VSCoreCreationFlags
impl Clone for VSCoreCreationFlags
Source§fn clone(&self) -> VSCoreCreationFlags
fn clone(&self) -> VSCoreCreationFlags
Returns a copy 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 VSCoreCreationFlags
impl Debug for VSCoreCreationFlags
Source§impl Hash for VSCoreCreationFlags
impl Hash for VSCoreCreationFlags
Source§impl Ord for VSCoreCreationFlags
impl Ord for VSCoreCreationFlags
Source§fn cmp(&self, other: &VSCoreCreationFlags) -> Ordering
fn cmp(&self, other: &VSCoreCreationFlags) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VSCoreCreationFlags
impl PartialEq for VSCoreCreationFlags
Source§impl PartialOrd for VSCoreCreationFlags
impl PartialOrd for VSCoreCreationFlags
impl Copy for VSCoreCreationFlags
impl Eq for VSCoreCreationFlags
impl StructuralPartialEq for VSCoreCreationFlags
Auto Trait Implementations§
impl Freeze for VSCoreCreationFlags
impl RefUnwindSafe for VSCoreCreationFlags
impl Send for VSCoreCreationFlags
impl Sync for VSCoreCreationFlags
impl Unpin for VSCoreCreationFlags
impl UnwindSafe for VSCoreCreationFlags
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