pub struct FastDiscoveryPlugin;Expand description
Discovery for FAST generated component layouts.
Implementations§
Trait Implementations§
Source§impl Clone for FastDiscoveryPlugin
impl Clone for FastDiscoveryPlugin
Source§fn clone(&self) -> FastDiscoveryPlugin
fn clone(&self) -> FastDiscoveryPlugin
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 FastDiscoveryPlugin
Source§impl Debug for FastDiscoveryPlugin
impl Debug for FastDiscoveryPlugin
Source§impl Default for FastDiscoveryPlugin
impl Default for FastDiscoveryPlugin
Source§fn default() -> FastDiscoveryPlugin
fn default() -> FastDiscoveryPlugin
Returns the “default value” for a type. Read more
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 package_cache_files(
&self,
package: PackageContext<'_>,
) -> Result<Vec<PathBuf>>
fn package_cache_files( &self, package: PackageContext<'_>, ) -> Result<Vec<PathBuf>>
Return every package file whose contents or existence affects discovery. Read more
Source§fn discover_package(
&self,
package: PackageContext<'_>,
) -> Result<Vec<DiscoveredComponent>>
fn discover_package( &self, package: PackageContext<'_>, ) -> Result<Vec<DiscoveredComponent>>
Discover components in a validated npm package. 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