pub struct LashlangSurfaceContribution {
pub abilities: LashlangAbilities,
pub language_features: LashlangLanguageFeatures,
pub resources: LashlangHostCatalog,
}Fields§
§abilities: LashlangAbilities§language_features: LashlangLanguageFeatures§resources: LashlangHostCatalogImplementations§
Source§impl LashlangSurfaceContribution
impl LashlangSurfaceContribution
pub fn new( abilities: LashlangAbilities, language_features: LashlangLanguageFeatures, resources: LashlangHostCatalog, ) -> Self
pub fn from_surface(surface: LashlangSurface) -> Self
Trait Implementations§
Source§impl Clone for LashlangSurfaceContribution
impl Clone for LashlangSurfaceContribution
Source§fn clone(&self) -> LashlangSurfaceContribution
fn clone(&self) -> LashlangSurfaceContribution
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 LashlangSurfaceContribution
impl Debug for LashlangSurfaceContribution
Source§impl Default for LashlangSurfaceContribution
impl Default for LashlangSurfaceContribution
Source§fn default() -> LashlangSurfaceContribution
fn default() -> LashlangSurfaceContribution
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LashlangSurfaceContributionwhere
LashlangSurfaceContribution: Default,
impl<'de> Deserialize<'de> for LashlangSurfaceContributionwhere
LashlangSurfaceContribution: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LashlangSurfaceContribution
Source§impl PartialEq for LashlangSurfaceContribution
impl PartialEq for LashlangSurfaceContribution
Source§fn eq(&self, other: &LashlangSurfaceContribution) -> bool
fn eq(&self, other: &LashlangSurfaceContribution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LashlangSurfaceContribution
Auto Trait Implementations§
impl Freeze for LashlangSurfaceContribution
impl RefUnwindSafe for LashlangSurfaceContribution
impl Send for LashlangSurfaceContribution
impl Sync for LashlangSurfaceContribution
impl Unpin for LashlangSurfaceContribution
impl UnsafeUnpin for LashlangSurfaceContribution
impl UnwindSafe for LashlangSurfaceContribution
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