pub enum Direction {
GuestExport,
GuestImport,
Both,
TypesOnly,
}Expand description
World-derived direction of an interface relative to a guest plugin.
Variants§
GuestExport
Guest implements it (a world exports it): grammar, picker-source, …
GuestImport
Guest calls into the host through it (a world imports it): host-services.
Both
Both an export and an import edge exist across worlds.
TypesOnly
Neither — a shared type bag (types) or a still-stub interface,
referenced only via use for its types.
Trait Implementations§
impl Copy for Direction
impl Eq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnsafeUnpin for Direction
impl UnwindSafe for Direction
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