pub struct LashlangSurface {
pub abilities: LashlangAbilities,
pub language_features: LashlangLanguageFeatures,
pub resources: LashlangHostCatalog,
}Fields§
§abilities: LashlangAbilities§language_features: LashlangLanguageFeatures§resources: LashlangHostCatalogImplementations§
Source§impl LashlangSurface
impl LashlangSurface
pub fn new( abilities: LashlangAbilities, language_features: LashlangLanguageFeatures, resources: LashlangHostCatalog, ) -> Self
pub fn for_process_registry(self, process_registry_available: bool) -> Self
pub fn with_resources(self, resources: LashlangHostCatalog) -> Self
pub fn with_plugin_extensions( self, extensions: &PluginExtensions, ) -> Result<Self, String>
pub fn host_environment(&self, catalog: &ToolCatalog) -> LashlangHostEnvironment
Trait Implementations§
Source§impl Clone for LashlangSurface
impl Clone for LashlangSurface
Source§fn clone(&self) -> LashlangSurface
fn clone(&self) -> LashlangSurface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LashlangSurface
impl Debug for LashlangSurface
Auto Trait Implementations§
impl Freeze for LashlangSurface
impl RefUnwindSafe for LashlangSurface
impl Send for LashlangSurface
impl Sync for LashlangSurface
impl Unpin for LashlangSurface
impl UnsafeUnpin for LashlangSurface
impl UnwindSafe for LashlangSurface
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