pub enum NativeFacet {
McpExport(McpExportFacet),
Other {
name: Symbol,
value: Expr,
private: bool,
},
}Expand description
A facet attached to an McpNativeCard.
Variants§
McpExport(McpExportFacet)
An MCP export that projects onto the surface.
Other
An arbitrary named facet carried on the card.
Trait Implementations§
Source§impl Clone for NativeFacet
impl Clone for NativeFacet
Source§fn clone(&self) -> NativeFacet
fn clone(&self) -> NativeFacet
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for NativeFacet
impl !UnwindSafe for NativeFacet
impl Freeze for NativeFacet
impl Send for NativeFacet
impl Sync for NativeFacet
impl Unpin for NativeFacet
impl UnsafeUnpin for NativeFacet
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