pub struct LashlangSurface {
pub resources: ResourceCatalog,
pub abilities: LashlangAbilities,
pub language_features: LashlangLanguageFeatures,
}Fields§
§resources: ResourceCatalog§abilities: LashlangAbilities§language_features: LashlangLanguageFeaturesImplementations§
Source§impl LashlangSurface
impl LashlangSurface
pub fn new( resources: ResourceCatalog, abilities: LashlangAbilities, ) -> LashlangSurface
pub fn with_language_features( self, language_features: LashlangLanguageFeatures, ) -> LashlangSurface
pub fn satisfies(&self, requirements: &SurfaceRequirements) -> bool
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
Source§impl Default for LashlangSurface
impl Default for LashlangSurface
Source§fn default() -> LashlangSurface
fn default() -> LashlangSurface
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LashlangSurface
impl<'de> Deserialize<'de> for LashlangSurface
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LashlangSurface, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LashlangSurface, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LashlangSurface
Source§impl PartialEq for LashlangSurface
impl PartialEq for LashlangSurface
Source§fn eq(&self, other: &LashlangSurface) -> bool
fn eq(&self, other: &LashlangSurface) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LashlangSurface
impl Serialize for LashlangSurface
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 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