pub struct FastDiscoveryPlugin;Expand description
Discovery for FAST generated component layouts.
Implementations§
Trait Implementations§
Source§impl Clone for FastDiscoveryPlugin
impl Clone for FastDiscoveryPlugin
impl Copy for FastDiscoveryPlugin
Source§impl Debug for FastDiscoveryPlugin
impl Debug for FastDiscoveryPlugin
Source§impl Default for FastDiscoveryPlugin
impl Default for FastDiscoveryPlugin
Source§impl DiscoveryPlugin for FastDiscoveryPlugin
impl DiscoveryPlugin for FastDiscoveryPlugin
Source§fn cache_namespace(&self) -> &'static str
fn cache_namespace(&self) -> &'static str
Stable cache namespace for this discovery layout.
Source§fn discover_local(&self, root: &Path) -> Result<Vec<DiscoveredComponent>>
fn discover_local(&self, root: &Path) -> Result<Vec<DiscoveredComponent>>
Discover components below a local source root. Read more
Source§fn supports_package(&self, package: PackageContext<'_>) -> Result<bool>
fn supports_package(&self, package: PackageContext<'_>) -> Result<bool>
Whether a package declares components using this discovery layout. Read more
Source§fn prepare_package(
&self,
package: PackageContext<'_>,
) -> Result<PreparedPackage>
fn prepare_package( &self, package: PackageContext<'_>, ) -> Result<PreparedPackage>
Resolve a package’s component inventory and source choices once. Read more
Auto Trait Implementations§
impl Freeze for FastDiscoveryPlugin
impl RefUnwindSafe for FastDiscoveryPlugin
impl Send for FastDiscoveryPlugin
impl Sync for FastDiscoveryPlugin
impl Unpin for FastDiscoveryPlugin
impl UnsafeUnpin for FastDiscoveryPlugin
impl UnwindSafe for FastDiscoveryPlugin
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