pub struct LayerView {
pub includes: Vec<Include>,
pub tools: Vec<String>,
}Expand description
A lenient view of a layer manifest — just what composition needs.
Deliberately NOT LayerManifest: that parse enforces the full install
contract (counter, issued-at), and requiring it merely to discover whether a
layer composes another would make which fail on layers that resolve fine
today. Reading less is what lets this be additive.
Fields§
§includes: Vec<Include>§tools: Vec<String>Dispatchable tool names this layer exposes.
Trait Implementations§
impl Eq for LayerView
impl StructuralPartialEq for LayerView
Auto Trait Implementations§
impl Freeze for LayerView
impl RefUnwindSafe for LayerView
impl Send for LayerView
impl Sync for LayerView
impl Unpin for LayerView
impl UnsafeUnpin for LayerView
impl UnwindSafe for LayerView
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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