pub struct LashlangHostEnvironment {
pub resources: LashlangHostCatalog,
pub abilities: LashlangAbilities,
pub language_features: LashlangLanguageFeatures,
}Fields§
§resources: LashlangHostCatalog§abilities: LashlangAbilities§language_features: LashlangLanguageFeaturesImplementations§
Source§impl LashlangHostEnvironment
impl LashlangHostEnvironment
pub fn new( resources: LashlangHostCatalog, abilities: LashlangAbilities, ) -> LashlangHostEnvironment
pub fn with_language_features( self, language_features: LashlangLanguageFeatures, ) -> LashlangHostEnvironment
pub fn satisfies(&self, requirements: &HostRequirements) -> bool
Trait Implementations§
Source§impl Clone for LashlangHostEnvironment
impl Clone for LashlangHostEnvironment
Source§fn clone(&self) -> LashlangHostEnvironment
fn clone(&self) -> LashlangHostEnvironment
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 LashlangHostEnvironment
impl Debug for LashlangHostEnvironment
Source§impl Default for LashlangHostEnvironment
impl Default for LashlangHostEnvironment
Source§fn default() -> LashlangHostEnvironment
fn default() -> LashlangHostEnvironment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LashlangHostEnvironment
impl<'de> Deserialize<'de> for LashlangHostEnvironment
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LashlangHostEnvironment, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LashlangHostEnvironment, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LashlangHostEnvironment
Source§impl PartialEq for LashlangHostEnvironment
impl PartialEq for LashlangHostEnvironment
Source§fn eq(&self, other: &LashlangHostEnvironment) -> bool
fn eq(&self, other: &LashlangHostEnvironment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LashlangHostEnvironment
impl Serialize for LashlangHostEnvironment
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LashlangHostEnvironment
Auto Trait Implementations§
impl Freeze for LashlangHostEnvironment
impl RefUnwindSafe for LashlangHostEnvironment
impl Send for LashlangHostEnvironment
impl Sync for LashlangHostEnvironment
impl Unpin for LashlangHostEnvironment
impl UnsafeUnpin for LashlangHostEnvironment
impl UnwindSafe for LashlangHostEnvironment
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