pub struct ComponentManifest {
pub id: &'static str,
pub version: &'static str,
pub layer: ComponentLayer,
pub stability: ComponentStability,
pub description: &'static str,
pub capabilities: &'static [&'static str],
pub requires: &'static [&'static str],
pub provides: &'static [&'static str],
}Expand description
Static manifest for one AhRightOS component.
Fields§
§id: &'static str§version: &'static str§layer: ComponentLayer§stability: ComponentStability§description: &'static str§capabilities: &'static [&'static str]§requires: &'static [&'static str]§provides: &'static [&'static str]Implementations§
Source§impl ComponentManifest
impl ComponentManifest
pub const fn is_stable_public_interface(&self) -> bool
Trait Implementations§
Source§impl Clone for ComponentManifest
impl Clone for ComponentManifest
Source§fn clone(&self) -> ComponentManifest
fn clone(&self) -> ComponentManifest
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 moreimpl Copy for ComponentManifest
Source§impl Debug for ComponentManifest
impl Debug for ComponentManifest
impl Eq for ComponentManifest
Source§impl PartialEq for ComponentManifest
impl PartialEq for ComponentManifest
impl StructuralPartialEq for ComponentManifest
Auto Trait Implementations§
impl Forget for ComponentManifest
impl Freeze for ComponentManifest
impl RefUnwindSafe for ComponentManifest
impl Send for ComponentManifest
impl Sync for ComponentManifest
impl Unpin for ComponentManifest
impl UnsafeUnpin for ComponentManifest
impl UnwindSafe for ComponentManifest
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