pub enum ProjectManifest {
Capability(CapabilityManifest),
Module(ModuleManifest),
}Variants§
Capability(CapabilityManifest)
Module(ModuleManifest)
Implementations§
Source§impl ProjectManifest
impl ProjectManifest
pub fn ident(&self) -> &CapabilityIdent
pub fn to_cargo_manifest(self, cache_manager: Option<&CacheManager>) -> Manifest
pub fn to_interface_manifest(self) -> Option<Manifest>
Trait Implementations§
Source§impl Clone for ProjectManifest
impl Clone for ProjectManifest
Source§fn clone(&self) -> ProjectManifest
fn clone(&self) -> ProjectManifest
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 ProjectManifest
impl Debug for ProjectManifest
Source§impl<'de> Deserialize<'de> for ProjectManifest
impl<'de> Deserialize<'de> for ProjectManifest
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
Source§impl PartialEq for ProjectManifest
impl PartialEq for ProjectManifest
Source§fn eq(&self, other: &ProjectManifest) -> bool
fn eq(&self, other: &ProjectManifest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProjectManifest
impl Serialize for ProjectManifest
impl StructuralPartialEq for ProjectManifest
Auto Trait Implementations§
impl Freeze for ProjectManifest
impl RefUnwindSafe for ProjectManifest
impl Send for ProjectManifest
impl Sync for ProjectManifest
impl Unpin for ProjectManifest
impl UnsafeUnpin for ProjectManifest
impl UnwindSafe for ProjectManifest
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